JetBrains.Annotations.Sources 2025.2.0

Prefix Reserved
dotnet add package JetBrains.Annotations.Sources --version 2025.2.0
                    
NuGet\Install-Package JetBrains.Annotations.Sources -Version 2025.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="JetBrains.Annotations.Sources" Version="2025.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JetBrains.Annotations.Sources" Version="2025.2.0" />
                    
Directory.Packages.props
<PackageReference Include="JetBrains.Annotations.Sources" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add JetBrains.Annotations.Sources --version 2025.2.0
                    
#r "nuget: JetBrains.Annotations.Sources, 2025.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package JetBrains.Annotations.Sources@2025.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=JetBrains.Annotations.Sources&version=2025.2.0
                    
Install as a Cake Addin
#tool nuget:?package=JetBrains.Annotations.Sources&version=2025.2.0
                    
Install as a Cake Tool

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 as an ordinary compiled nuget package and a source-code only package.

official JetBrains project

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2025.2.0 120 7/22/2025

• 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.