JetBrains.Annotations 2022.1.0 The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved

.NET Standard 1.0 .NET Framework 2.0
Install-Package JetBrains.Annotations -Version 2022.1.0
dotnet add package JetBrains.Annotations --version 2022.1.0
<PackageReference Include="JetBrains.Annotations" Version="2022.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JetBrains.Annotations --version 2022.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JetBrains.Annotations, 2022.1.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 JetBrains.Annotations as a Cake Addin
#addin nuget:?package=JetBrains.Annotations&version=2022.1.0

// Install JetBrains.Annotations as a Cake Tool
#tool nuget:?package=JetBrains.Annotations&version=2022.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

JetBrains.Annotations help reduce false positive warnings, explicitly declare purity and nullability in your code, deal with implicit usages of members, support special semantics of APIs in ASP.NET and XAML frameworks and otherwise increase accuracy of JetBrains Rider and ReSharper code inspections.

All usages of JetBrains.Annotations attributes are erased from metadata by default, which means no actual binary reference to 'JetBrains.Annotations.dll' assembly is produced. If you need to preserve these attributes in metadata, just define 'JETBRAINS_ANNOTATIONS' conditional compilation symbol in your projects.

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.
  • .NETFramework 2.0

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.

NuGet packages (2.1K)

Showing the top 5 NuGet packages that depend on JetBrains.Annotations:

Package Downloads

Rebus is a lean service bus for .NET

Abp The ID prefix of this package has been reserved for one of the owners of this package by


Volo.Abp.Core The ID prefix of this package has been reserved for one of the owners of this package by

Package Description


A simple package by @ardalis and @nimblepros with guard clause helper methods. See docs for how to extend using your own extension methods defined in your project.

Nuke.Common The ID prefix of this package has been reserved for one of the owners of this package by

Cross-platform build automation system Signed by from repository '' commit '12a091bbe2dc56bb3a2db64178dfc5305d769b3b' (see contained AppVeyorSettings.json file for build settings).

GitHub repositories (179)

Showing the top 5 popular GitHub repositories that depend on JetBrains.Annotations:

Repository Stars
Windows system utilities to maximize productivity
Launcher for Windows, an alternative to Alfred and Launchy.
A cross-platform UI framework for .NET
ASP.NET Boilerplate - Web Application Framework
Simple REST and HTTP API Client for .NET
Version Downloads Last updated
2022.1.0 1,509,428 4/18/2022
2022.1.0-eap3 51,227 2/1/2022
2022.1.0-eap2 3,868 1/18/2022
2021.3.0 5,612,046 10/28/2021
2021.3.0-eap5 542 10/26/2021
2021.3.0-eap4 10,672 10/2/2021
2021.3.0-eap3 6,722 8/2/2021
2021.2.0 5,024,309 7/21/2021
2021.2.0-eap3 31,844 6/28/2021
2021.2.0-eap2 7,251 5/26/2021
2021.1.0 4,575,425 4/6/2021
2021.1.0-eap01 21,310 2/9/2021
2020.3.0 6,756,360 11/27/2020
2020.1.0 12,198,301 4/7/2020
2019.1.3 17,597,973 7/3/2019
2019.1.2 838 7/3/2019
2019.1.1 3,936,423 3/26/2019
2018.3.0 2,869,543 1/14/2019
2018.2.1 5,062,887 7/25/2018
11.1.0 9,617,189 10/24/2017
11.0.0 2,432,716 7/20/2017
10.4.0 2,011,501 3/9/2017
10.3.0 1,234,930 2/28/2017
10.2.1 1,764,619 10/11/2016
10.2.0 25,680 10/8/2016
10.1.5 446,131 6/30/2016
10.1.4 251,247 4/10/2016
10.0.0 663,081 10/30/2015
9.2.0 361,862 8/11/2015
9.1.2 2,863 8/11/2015
9.1.1 290,309 3/20/2015
8.0.5 234,841 12/17/2014
8.0.4 12,679 11/30/2014
8.0.3 11,487 11/30/2014
7.0.0 186,219 9/12/2012
6.1.0 53,689 11/23/2011

• Annotations assembly version is now fixed to 4242.42.42.42 to allow binary compatibility
• Added AspRouteConventionAttribute, AspDefaultRouteValuesAttribute and AspRouteValuesConstraintsAttribute for ASP.NET convention based routing support
• Added AspAttributeRoutingAttribute, AspRouteOrderAttribute and AspRouteVerbsAttribute for ASP.NET attribute routing support
• Added AspMinimalApiDeclarationAttribute and AspMinimalApiHandlerAttribute for ASP.NET Minimal API support