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
GitTools.Core
Core library for GitTools
29
GitTools.Core
Core library for GitTools
35
GitTools.Core
Core library for GitTools
37
GitTools.Core
Core library for GitTools
39
RestSharp.Serializers.NewtonsoftJson
Simple REST and HTTP API Client
28
RestSharp.Serializers.NewtonsoftJson
Simple REST and HTTP API Client
32
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
29
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
30
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
31
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
33
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
34
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
35
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
36
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
40
SimplerSoftware.EntityFrameworkCore.SqlServer.NodaTime
Adds native NodaTime support for EntityFrameworkCore.
42

• `[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 3 09/04/2025
2025.2.1 4 08/31/2025
2025.2.0 5 07/23/2025
2025.1.0-eap1 24 02/08/2025
2024.3.0 24 10/27/2024
2024.3.0-eap1 23 10/22/2024
2024.2.0 35 07/20/2024
2024.2.0-eap1 32 05/13/2024
2023.3.0 31 02/14/2024
2023.3.0-eap4 33 02/04/2024
2023.3.0-eap3 39 02/04/2024
2023.2.0 30 02/12/2024
2023.2.0-eap3 28 02/04/2024
2023.2.0-eap2 27 02/04/2024
2023.2.0-eap1 27 02/04/2024
2022.3.1 26 02/12/2024
2022.1.0 28 02/12/2024
2022.1.0-eap3 30 02/04/2024
2022.1.0-eap2 28 02/04/2024
2021.3.0 32 02/12/2024
2021.3.0-eap5 29 02/04/2024
2021.3.0-eap4 41 02/04/2024
2021.3.0-eap3 31 02/04/2024
2021.2.0 29 01/26/2023
2021.2.0-eap3 29 02/04/2024
2021.2.0-eap2 30 02/04/2024
2021.1.0 25 02/13/2024
2021.1.0-eap01 29 02/12/2024
2020.3.0 27 02/12/2024
2020.1.0 44 02/12/2024
2019.1.3 30 04/26/2021
2019.1.2 29 02/13/2024
2019.1.1 33 02/12/2024
2018.3.0 27 02/12/2024
2018.2.1 25 02/12/2024
11.1.0 28 02/12/2024
11.0.0 28 02/12/2024
10.4.0 38 02/12/2024
10.3.0 24 02/12/2024
10.2.1 36 02/12/2024
10.2.0 33 02/12/2024
10.1.5 27 02/12/2024
10.1.4 27 02/12/2024
10.0.0 28 02/12/2024
9.2.0 36 02/12/2024
9.1.2 28 02/12/2024
9.1.1 26 02/12/2024
8.0.5 30 02/13/2024
8.0.4 30 02/12/2024
8.0.3 29 02/13/2024
7.0.0 38 02/12/2024
6.1.0 29 02/12/2024