JetBrains.Annotations 2021.2.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.
NuGet\Install-Package JetBrains.Annotations -Version 2021.2.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.
dotnet add package JetBrains.Annotations --version 2021.2.0
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JetBrains.Annotations --version 2021.2.0
#r "nuget: JetBrains.Annotations, 2021.2.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=2021.2.0

// Install JetBrains.Annotations as a Cake Tool
#tool nuget:?package=JetBrains.Annotations&version=2021.2.0

ReSharper 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 ReSharper code inspections.

All usages of ReSharper 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
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 '39132f3fb1fea9f889894dfe520cf4434d6eca4e' (see contained AppVeyorSettings.json file for build settings).


Library for easily paging through any IEnumerable/IQueryable in .NET and .NET Core

GitHub repositories (177)

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
Open Source Web Application Framework for ASP.NET Core
Version Downloads Last updated
2022.1.0 2,609,202 4/18/2022
2022.1.0-eap3 69,447 2/1/2022
2022.1.0-eap2 3,916 1/18/2022
2021.3.0 6,634,812 10/28/2021
2021.3.0-eap5 571 10/26/2021
2021.3.0-eap4 11,343 10/2/2021
2021.3.0-eap3 6,788 8/2/2021
2021.2.0 5,624,675 7/21/2021
2021.2.0-eap3 31,968 6/28/2021
2021.2.0-eap2 7,695 5/26/2021
2021.1.0 4,850,513 4/6/2021
2021.1.0-eap01 22,153 2/9/2021
2020.3.0 7,101,932 11/27/2020
2020.1.0 12,572,963 4/7/2020
2019.1.3 18,308,728 7/3/2019
2019.1.2 853 7/3/2019
2019.1.1 4,012,635 3/26/2019
2018.3.0 2,929,251 1/14/2019
2018.2.1 5,161,130 7/25/2018
11.1.0 9,843,561 10/24/2017
11.0.0 2,469,879 7/20/2017
10.4.0 2,077,880 3/9/2017
10.3.0 1,324,811 2/28/2017
10.2.1 1,789,987 10/11/2016
10.2.0 26,849 10/8/2016
10.1.5 452,002 6/30/2016
10.1.4 255,056 4/10/2016
10.0.0 672,093 10/30/2015
9.2.0 365,440 8/11/2015
9.1.2 2,876 8/11/2015
9.1.1 295,702 3/20/2015
8.0.5 240,330 12/17/2014
8.0.4 12,709 11/30/2014
8.0.3 11,674 11/30/2014
7.0.0 193,571 9/12/2012
6.1.0 56,299 11/23/2011

• Added 'UriStringAttribute' to enable URL features on string literals
     • Added 'RequireStaticDelegateAttribute' to enforce the allocation-less usage patterns