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.
158
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
76
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
74
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
74
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.
73
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
73
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.
69
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
67
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
66
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
66
Ardalis.GuardClauses
A simple package with guard clause helper methods. See docs for how to extend using your own extension methods.
65
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
65
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
64
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
64
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
63
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
62
JsonSchema.Net
JSON Schema built on the System.Text.Json namespace.
61
Autofac.Extras.Quartz
Autofac integration for Quartz.Net.
61

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