JetBrains.Annotations.Sources
2025.2.1
Prefix Reserved
See the version list below for details.
dotnet add package JetBrains.Annotations.Sources --version 2025.2.1
NuGet\Install-Package JetBrains.Annotations.Sources -Version 2025.2.1
<PackageReference Include="JetBrains.Annotations.Sources" Version="2025.2.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="JetBrains.Annotations.Sources" Version="2025.2.1" />
<PackageReference Include="JetBrains.Annotations.Sources"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add JetBrains.Annotations.Sources --version 2025.2.1
#r "nuget: JetBrains.Annotations.Sources, 2025.2.1"
#:package JetBrains.Annotations.Sources@2025.2.1
#addin nuget:?package=JetBrains.Annotations.Sources&version=2025.2.1
#tool nuget:?package=JetBrains.Annotations.Sources&version=2025.2.1
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("JETBRAINS_ANNOTATIONS")]` attribute was removed from all annotation types, so the assembly reference to `JetBrains.Annotation.dll` is no longer automatically removed by the C# compiler. You can no longer safely use `PrivateAssets="All"` for package reference to `JetBrains.Annotations`. Consider migration to `JetBrains.Annotations.Sources` package if the dependency removal is important for you.
• New `JetBrains.Annotations.Sources` package introduced as an alternative way to embed JetBrains.Annotations into your projects without package dependency.
• 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 update.