[PR #515] Enable nullable #1073

Closed
opened 2026-01-29 22:18:53 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/adamhathcock/sharpcompress/pull/515

State: closed
Merged: Yes


This PR

  • Enables nullable
  • Replaces == null with is null
  • Seals a few internal classes
  • Remove a single allocation by creating a static byte array

Nullable is disabled in various classes with initialization patterns that don't work well with nullable until C# v9.

**Original Pull Request:** https://github.com/adamhathcock/sharpcompress/pull/515 **State:** closed **Merged:** Yes --- This PR - Enables nullable - Replaces == null with is null - Seals a few internal classes - Remove a single allocation by creating a static byte array Nullable is disabled in various classes with initialization patterns that don't work well with nullable until C# v9.
claunia added the pull-request label 2026-01-29 22:18:53 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1073