A source code only package which allows you to use .NET's nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.
This was an oversight and should be changed.
If there are no complaints/problems due to this in the meantime, I will delay the fix until the next release of the package.
While this is most likely not going to cause problems, it is good practice to use
#pragma warning restore
instead of#pragma warning enable
. In the nullable files,enable
is used at the moment: https://github.com/manuelroemer/Nullable/blob/a39a33ce09afa8c2ea75ba3d642973e06ef129fa/src/Nullable.ExcludeFromCodeCoverage/NullableAttributes.cs#L314This was an oversight and should be changed. If there are no complaints/problems due to this in the meantime, I will delay the fix until the next release of the package.