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
Nuke.Common
Cross-platform build automation system
73
Nuke.Common
Cross-platform build automation system
74
Nuke.Common
Cross-platform build automation system
75
Nuke.Common
Cross-platform build automation system
79
Nuke.Common
Cross-platform build automation system
82
System.Linq.Dynamic.Core
This is a .net core port of the the Microsoft assembly for the .Net 4.0 Dynamic language functionality.
79

• `[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 18 09/04/2025
2025.2.1 26 08/29/2025
2025.2.0 29 07/23/2025
2025.1.0-eap1 57 03/30/2025
2024.3.0 107 10/26/2024
2024.3.0-eap1 55 10/18/2024
2024.2.0 97 07/19/2024
2024.2.0-eap1 76 07/19/2024
2023.3.0 104 02/05/2024
2023.3.0-eap4 74 07/19/2024
2023.3.0-eap3 68 07/19/2024
2023.2.0 78 07/19/2024
2023.2.0-eap3 69 07/19/2024
2023.2.0-eap2 77 07/19/2024
2023.2.0-eap1 77 07/19/2024
2022.3.1 86 07/19/2024
2022.1.0 75 07/19/2024
2022.1.0-eap3 83 07/19/2024
2022.1.0-eap2 69 07/19/2024
2021.3.0 83 02/20/2024
2021.3.0-eap5 64 07/19/2024
2021.3.0-eap4 87 07/19/2024
2021.3.0-eap3 80 07/19/2024
2021.2.0 75 07/19/2024
2021.2.0-eap3 76 07/19/2024
2021.2.0-eap2 78 07/19/2024
2021.1.0 76 07/19/2024
2021.1.0-eap01 79 07/19/2024
2020.3.0 76 07/19/2024
2020.1.0 88 07/19/2024
2019.1.3 79 07/19/2024
2019.1.2 77 07/19/2024
2019.1.1 78 07/19/2024
2018.3.0 76 07/19/2024
2018.2.1 78 07/19/2024
11.1.0 80 07/19/2024
11.0.0 72 07/19/2024
10.4.0 74 07/19/2024
10.3.0 83 07/19/2024
10.2.1 83 07/19/2024
10.2.0 79 07/19/2024
10.1.5 77 07/19/2024
10.1.4 73 07/19/2024
10.0.0 66 07/19/2024
9.2.0 75 07/19/2024
9.1.2 67 07/19/2024
9.1.1 76 07/19/2024
8.0.5 80 07/19/2024
8.0.4 78 07/19/2024
8.0.3 70 07/19/2024
7.0.0 76 07/19/2024
6.1.0 67 07/19/2024