JetBrains.Annotations.Sources
2025.2.2
Prefix Reserved
dotnet add package JetBrains.Annotations.Sources --version 2025.2.2
NuGet\Install-Package JetBrains.Annotations.Sources -Version 2025.2.2
<PackageReference Include="JetBrains.Annotations.Sources" Version="2025.2.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="JetBrains.Annotations.Sources" Version="2025.2.2" />
<PackageReference Include="JetBrains.Annotations.Sources"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add JetBrains.Annotations.Sources --version 2025.2.2
#r "nuget: JetBrains.Annotations.Sources, 2025.2.2"
#:package JetBrains.Annotations.Sources@2025.2.2
#addin nuget:?package=JetBrains.Annotations.Sources&version=2025.2.2
#tool nuget:?package=JetBrains.Annotations.Sources&version=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.
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 (4)
Showing the top 4 popular GitHub repositories that depend on JetBrains.Annotations.Sources:
Repository | Stars |
---|---|
JustArchiNET/ArchiSteamFarm
C# application with primary purpose of farming Steam cards from multiple accounts simultaneously.
|
|
JetBrains/resharper-unity
Unity support for both ReSharper and Rider
|
|
CatPoweredPlugins/ASFAchievementManager
Achievement Manager for ASF
|
|
MDModsDev/MuseDashModTools
UI app made by Avalonia framework for Muse Dash Mods
|
• `[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.