Nullable 1.3.0

.NET 5.0 .NET Standard 1.0 .NET Framework 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package Nullable --version 1.3.0
NuGet\Install-Package Nullable -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nullable" Version="1.3.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nullable --version 1.3.0
#r "nuget: Nullable, 1.3.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Nullable as a Cake Addin
#addin nuget:?package=Nullable&version=1.3.0

// Install Nullable as a Cake Tool
#tool nuget:?package=Nullable&version=1.3.0

A source code only package which allows you to use .NET'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 the attribute classes as C# source code to your project. Because this code is 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# code 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 majority of the attributes are not included in the .NET Standard 2.1 version, because it already provides these by default.

Please see https://github.com/manuelroemer/Nullable for additional information on how to use this package.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net20 net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (9)

Showing the top 5 NuGet packages that depend on Nullable:

Package Downloads
WireMock.Net The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.

Yoakke.Polyfill

A collection of .NET libraries to help compiler development.

TopDownProteomics

Package Description

bebop

The .NET runtime for Bebop, a schema-based binary serialization format.

aqua.tool.polyfill.Nullable

C# source code only package which allows you to use .NET's new nullable attributes and assertion method to check for null values. 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.0 or later.

GitHub repositories (80)

Showing the top 5 popular GitHub repositories that depend on Nullable:

Repository Stars
spectreconsole/spectre.console
A .NET library that makes it easier to create beautiful console applications.
serilog/serilog
Simple .NET logging with fully-structured events
neuecc/MessagePack-CSharp
Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
Fody/Fody
Extensible tool for weaving .net assemblies
mono/SkiaSharp
SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
Version Downloads Last updated
1.3.1 132,614 7/9/2022
1.3.0 731,539 9/16/2020
1.2.1 125,179 2/24/2020
1.2.0 25,357 12/24/2019
1.1.1 17,533 10/15/2019
1.1.0 5,421 9/26/2019
1.0.0 658 9/25/2019