JetBrains.Annotations 2025.2.1

JetBrains ReSharper Annotations

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

Available on nuget.org as an ordinary compiled nuget package and a source-code only package.

official JetBrains project

Showing the top 20 packages that depend on JetBrains.Annotations.

Packages
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
Ardalis.GuardClauses
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.
Avalonia
Avalonia is a WPF/UWP-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows (.NET Framework, .NET Core), Linux (via Xorg), MacOS and with experimental support for Android and iOS.
Avalonia
Package Description
Avalonia
Avalonia is a cross-platform UI framework for .NET providing a flexible styling system and supporting a wide range of Operating Systems such as Windows, Linux, MacOS and with experimental support for Android, iOS and WebAssembly.

• `[Conditional("JETBRAINS_ANNOTATIONS")]` attribute was removed from all annotation types, so the assembly reference to `JetBrains.Annotation.dll` is no longer automatically removed by the C# compiler. You can no longer safely use `PrivateAssets="All"` for package reference to `JetBrains.Annotations`. Consider migration to `JetBrains.Annotations.Sources` package if the dependency removal is important for you. • New `JetBrains.Annotations.Sources` package introduced as an alternative way to embed JetBrains.Annotations into your projects without package dependency. • Added `DefaultEqualityUsageAttribute` for equality members usage analysis. • `MustDisposeResourceAttribute` is now allowed on struct types. • Added the ability to specify the description for UsedImplicitlyAttribute (new 'Reason' property). • Added `CqrsCommandAttribute`, `CqrsQueryAttribute`, `CqrsCommandHandlerAttribute`, `CqrsQueryHandlerAttribute` and `CqrsExcludeFromAnalysisAttribute` to support CQRS analyzes of naming and adherence to the pattern. • Package icon update.

.NET Framework 2.0

  • No dependencies.

.NETPortable 4.0

  • No dependencies.

.NET Standard 1.0

.NET Standard 2.0

  • No dependencies.

Version Last updated
2025.2.2 9/4/2025
2025.2.1 8/29/2025
2025.2.0 7/27/2025
2025.1.0-eap1 4/21/2025
2024.3.0 6/27/2025
2024.3.0-eap1 3/27/2025
2024.2.0 5/23/2025
2024.2.0-eap1 3/28/2025
2023.3.0 5/1/2025
2023.3.0-eap4 3/29/2025
2023.3.0-eap3 3/29/2025
2023.2.0 3/21/2025
2023.2.0-eap3 3/28/2025
2023.2.0-eap2 3/28/2025
2023.2.0-eap1 3/28/2025
2022.3.1 6/13/2025
2022.1.0 3/14/2025
2022.1.0-eap3 3/28/2025
2022.1.0-eap2 3/28/2025
2021.3.0 4/15/2025
2021.3.0-eap5 3/25/2025
2021.3.0-eap4 3/28/2025
2021.3.0-eap3 3/29/2025
2021.2.0 6/27/2025
2021.2.0-eap3 3/29/2025
2021.2.0-eap2 3/29/2025
2021.1.0 6/27/2025
2021.1.0-eap01 3/28/2025
2020.3.0 4/12/2025
2020.1.0 6/27/2025
2019.1.3 3/14/2025
2019.1.2 4/4/2025
2019.1.1 4/15/2025
2018.3.0 4/1/2025
2018.2.1 5/13/2025
11.1.0 4/4/2025
11.0.0 4/14/2025
10.4.0 4/18/2025
10.3.0 4/27/2025
10.2.1 4/7/2025
10.2.0 3/25/2025
10.1.5 5/3/2025
10.1.4 4/1/2025
10.0.0 6/27/2025
9.2.0 6/27/2025
9.1.2 4/8/2025
9.1.1 6/27/2025
8.0.5 6/5/2025
8.0.4 6/5/2025
8.0.3 4/1/2025
7.0.0 4/8/2025
6.1.0 5/16/2025