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
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
154
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
73
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
72
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
71
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
70
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.
68
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.
65
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
64
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
63
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
62
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
62
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
62
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
60
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
60
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
59
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
58
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
58

• `[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 5 09/02/2025
2025.2.1 4 09/01/2025
2025.2.0 11 07/26/2025
2025.1.0-eap1 28 01/28/2025
2024.3.0 29 10/26/2024
2024.3.0-eap1 34 10/15/2024
2024.2.0 43 07/09/2024
2024.2.0-eap1 43 05/14/2024
2023.3.0 53 11/08/2023
2023.3.0-eap4 57 11/04/2023
2023.3.0-eap3 45 10/24/2023
2023.2.0 49 07/23/2023
2023.2.0-eap3 52 06/18/2023
2023.2.0-eap2 48 06/18/2023
2023.2.0-eap1 55 03/20/2023
2022.3.1 50 11/24/2022
2022.1.0 56 07/02/2022
2022.1.0-eap3 56 11/24/2022
2022.1.0-eap2 58 11/06/2022
2021.3.0 56 12/14/2021
2021.3.0-eap5 47 07/04/2023
2021.3.0-eap4 53 12/15/2022
2021.3.0-eap3 58 10/20/2022
2021.2.0 58 11/10/2021
2021.2.0-eap3 58 12/14/2021
2021.2.0-eap2 65 09/10/2022
2021.1.0 46 12/25/2021
2021.1.0-eap01 60 10/23/2022
2020.3.0 55 06/29/2022
2020.1.0 59 04/22/2021
2019.1.3 56 12/31/2022
2019.1.2 57 12/14/2021
2019.1.1 69 12/14/2021
2018.3.0 49 07/02/2023
2018.2.1 50 12/14/2021
11.1.0 50 11/24/2022
11.0.0 70 11/09/2022
10.4.0 48 11/15/2022
10.3.0 52 12/15/2022
10.2.1 47 11/05/2022
10.2.0 66 11/29/2022
10.1.5 47 04/12/2023
10.1.4 48 08/22/2022
10.0.0 54 11/24/2022
9.2.0 52 12/14/2021
9.1.2 52 02/12/2023
9.1.1 55 07/02/2023
8.0.5 56 12/25/2021
8.0.4 60 10/05/2022
8.0.3 54 12/15/2022
7.0.0 54 11/27/2022
6.1.0 57 12/25/2021