JetBrains.Annotations 2025.2.2

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 Downloads
Abp
Abp
28
Abp
Abp
29
Abp
Abp
30
Abp
Package Description
27
Abp
Package Description
28
Aliyun.SLS.SDK
Aliyun LogService SDK for .NET Core.
15,275
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.
33
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
28
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
30
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.
29
Avalonia.Direct2D1
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.
26
Avalonia.Direct2D1
Package Description
26
Avalonia.Direct2D1
Package Description
28
Nuke.Common
Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '0a3884e869cfbf3b1a8d8a794a27fc864190b9aa' (see contained AppVeyorSettings.json file for build settings).
27
Nuke.Common
Cross-platform build automation system Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '4a24cd4e78d43b59deb8aa2033c696c8ceb51dd6' (see contained AppVeyorSettings.json file for build settings).
27
Nuke.Utilities
The AKEless Build System for C#/.NET Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit '011956b31c05f14f3233f6241cd6fbe038824d71' (see contained AppVeyorSettings.json file for build settings).
30
Nuke.Utilities
The AKEless Build System for C#/.NET Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit 'aeacff85068cb9218354491b39fbf916e5ea28e8' (see contained AppVeyorSettings.json file for build settings).
29
Nuke.Utilities
The AKEless Build System for C#/.NET Signed by signpath.io from repository 'https://github.com/nuke-build/nuke' commit 'cda28e5941e47b2b2a3d9bea20f78d11af1d92e0' (see contained AppVeyorSettings.json file for build settings).
28

• `[Conditional]` was removed in versions 2025.2 and 2025.2.1, but brought back in 2025.2.2 due to user feedback in #45. • New `JetBrains.Annotations.Sources` package introduced as an alternative way to embed JetBrains.Annotations into your C# projects without binary package dependency. All annotation types declared as `internal` and marked with `[Embedded]` attribute. • 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 updated.

.NET Framework 2.0

  • No dependencies.

.NETPortable 4.0

  • No dependencies.

.NET Standard 1.0

.NET Standard 2.0

  • No dependencies.

Version Downloads Last updated
2025.2.2 1 09/04/2025
2025.2.1 4 08/31/2025
2025.2.0 5 07/25/2025
2025.1.0-eap1 24 01/28/2025
2024.3.0 24 10/31/2024
2024.3.0-eap1 23 10/31/2024
2024.2.0 17 11/16/2024
2024.2.0-eap1 26 05/22/2024
2023.3.0 28 11/20/2023
2023.3.0-eap4 29 05/03/2024
2023.3.0-eap3 24 05/25/2024
2023.2.0 31 07/16/2023
2023.2.0-eap3 28 06/14/2023
2023.2.0-eap2 27 06/14/2023
2023.2.0-eap1 28 08/04/2023
2022.3.1 23 05/30/2024
2021.3.0-eap4 20 06/14/2023
2021.2.0-eap3 21 06/08/2022
2021.2.0-eap2 26 05/25/2024
9.1.2 23 06/14/2023
9.1.1 23 05/30/2024
8.0.3 27 06/14/2023
6.1.0 20 05/30/2024