JetBrains.Annotations 9.1.2

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.1.2
dotnet add package JetBrains.Annotations --version 9.1.2
<PackageReference Include="JetBrains.Annotations" Version="9.1.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JetBrains.Annotations --version 9.1.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JetBrains.Annotations, 9.1.2"
#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.1.2

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

Release Notes

• Attribute [CollectionAccess] is now allowed on constructors and properties.


This package has no dependencies.

NuGet packages (1.6K)

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

Package Downloads
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
This package includes the nunit3-console runner and test engine for version 3 of the NUnit unit-testing framework. The following extensions are included with this package: * NUnitProjectLoader - loads tests from NUnit projects * VSProjectLoader - loads tests from Visual Studio projects * NUnitV2ResultWriter - saves results in NUnit V2 format. * NUnitV2FrameworkDriver - runs NUnit V2 tests. * TeamCityEventListener - supports special progress messages used by teamcity. Other extensions, if needed, must be installed separately.

GitHub repositories (148)

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 121,919 4/6/2021
2021.1.0-eap01 9,428 2/9/2021
2020.3.0 1,454,071 11/27/2020
2020.1.0 4,781,192 4/7/2020
2019.1.3 8,925,244 7/3/2019
2019.1.2 515 7/3/2019
2019.1.1 2,532,709 3/26/2019
2018.3.0 1,816,900 1/14/2019
2018.2.1 3,104,447 7/25/2018
11.1.0 4,411,651 10/24/2017
11.0.0 1,835,417 7/20/2017
10.4.0 1,069,201 3/9/2017
10.3.0 545,959 2/28/2017
10.2.1 1,194,263 10/11/2016
10.2.0 11,870 10/8/2016
10.1.5 331,512 6/30/2016
10.1.4 191,737 4/10/2016
10.0.0 521,772 10/30/2015
9.2.0 292,806 8/11/2015
9.1.2 2,378 8/11/2015
9.1.1 220,192 3/20/2015
8.0.5 185,832 12/17/2014
8.0.4 11,453 11/30/2014
8.0.3 9,348 11/30/2014
7.0.0 124,781 9/12/2012
6.1.0 32,037 11/23/2011
Show less