aqua.tool.polyfill.Nullable

C# source code only package which allows to use .NET's nullable attributes targeting frameworks older than .NET 5.0. Nullable attributes are used by the compiler to provide warnings when you may dereference a null value, throwing a `System.NullReferenceException`. This package is an extension to https://www.nuget.org/packages/Nullable/. The C# code is only included if targeting a framework version which does not already cover nullable attributes. Requires C# 8 or later. See https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/nullable-analysis for more info. Package documentation on github: https://github.com/6bee/aqua-tools/tree/v2.2.9#aquatoolpolyfillnullable


Keywords
c#, csharp, nullable
License
MIT
Install
Install-Package aqua.tool.polyfill.Nullable -Version 2.2.9

Documentation

aqua-tools

Github Workflow

package doc nuget myget
aqua.tool.Validation readme NuGet Badge MyGet Pre Release

Deprecated Packages

Former polyfill packages have been deprecated in favor of PolySharp:

  • aqua.tool.polyfill.CallerArgumentExpression
  • aqua.tool.polyfill.IsExternalInit
  • aqua.tool.polyfill.Nullable
  • aqua.tool.polyfill.RequiresPreviewFeatures
  • aqua.tool.polyfill.StackTraceHidden