Nullable 1.2.1

A source code only package which allows you to use .NET Core 3.0's new nullable attributes in older target frameworks like .NET Standard 2.0 or the "old" .NET Framework.

This package does not contain any compiled binaries, but instead adds a single C# file with the attribute classes to your project. Because this C# file gets compiled together with the rest of your code, the built binaries will not have a dependency on this package, meaning that you can perfectly use it for both libraries and applications.

The C# file is only included if you are targeting a framework version which does not support the new nullable attributes. For example, if you create a library which multi-targets .NET Standard 2.0 and 2.1, the file is only included in the .NET Standard 2.0 version, because .NET Standard 2.1 already provides the nullable attributes by default.

Please see for additional information on how to use this package.

Install-Package Nullable -Version 1.2.1
dotnet add package Nullable --version 1.2.1
<PackageReference Include="Nullable" Version="1.2.1">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nullable --version 1.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes


This package has no dependencies.

Showing the top 10 GitHub repositories that depend on Nullable:

Repository Stars
Extensible tool for weaving .net assemblies
YamlDotNet is a .NET library for YAML
The ultimate dirty YouTube library
A tiny, cross-platform, module based web server for .NET
Library for executing and piping shell commands
Declarative framework for building command line interfaces
High performance LINQ implementation with minimal heap allocations. Supports enumerables, async enumerables, arrays and Span<T>.
Adds EntityFramework Core IQueryable support to GraphQL
Unopinionated auto-update framework for desktop applications

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.2.1 2,220 2/24/2020
1.2.0 7,621 12/24/2019
1.1.1 7,828 10/15/2019
1.1.0 3,547 9/26/2019
1.0.0 79 9/25/2019