JetBrains.Annotations 9.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.

There is a newer version of this package available.
See the version list below for details.
Install-Package JetBrains.Annotations -Version 9.2.0
dotnet add package JetBrains.Annotations --version 9.2.0
<PackageReference Include="JetBrains.Annotations" Version="9.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JetBrains.Annotations --version 9.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JetBrains.Annotations, 9.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=9.2.0

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

Release Notes

• Updated documentation: attributes [ItemNotNull] and [ItemCanBeNull] are allowed to use on Task<T> and Lazy<T> types in ReSharper 9.2, to indicate the nullability of contained T value.


This package has no dependencies.

NuGet packages (1.6K)

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

Package Downloads
Library for easily paging through any IEnumerable/IQueryable in .NET and .NET Core
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
Cross-platform build automation system Signed by from repository '' commit '0a3884e869cfbf3b1a8d8a794a27fc864190b9aa' (see contained AppVeyorSettings.json file for build settings).
Package Description

GitHub repositories (150)

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 XAML framework for .NET
ASP.NET Boilerplate - Web Application Framework
A modern file explorer that pushes the boundaries of the platform.

Version History

Version Downloads Last updated
2021.1.0 136,105 4/6/2021
2021.1.0-eap01 9,674 2/9/2021
2020.3.0 1,495,636 11/27/2020
2020.1.0 4,818,551 4/7/2020
2019.1.3 8,987,584 7/3/2019
2019.1.2 517 7/3/2019
2019.1.1 2,539,483 3/26/2019
2018.3.0 1,819,962 1/14/2019
2018.2.1 3,110,099 7/25/2018
11.1.0 4,418,847 10/24/2017
11.0.0 1,837,672 7/20/2017
10.4.0 1,070,479 3/9/2017
10.3.0 548,311 2/28/2017
10.2.1 1,196,461 10/11/2016
10.2.0 11,873 10/8/2016
10.1.5 331,758 6/30/2016
10.1.4 192,162 4/10/2016
10.0.0 522,460 10/30/2015
9.2.0 293,260 8/11/2015
9.1.2 2,379 8/11/2015
9.1.1 220,458 3/20/2015
8.0.5 186,017 12/17/2014
8.0.4 11,454 11/30/2014
8.0.3 9,351 11/30/2014
7.0.0 124,885 9/12/2012
6.1.0 32,092 11/23/2011
Show less