JetBrains.Annotations (2023.3.0)

Published 2026-11-23 16:25:17 +00:00 by demo-admin

Installation

dotnet nuget add source --name demo-admin --username your_username --password your_token 
dotnet add package --source demo-admin --version 2023.3.0 JetBrains.Annotations

About this package

JetBrains.Annotations help reduce false positive warnings, explicitly declare purity and nullability in your code, deal with implicit usages of members, support special semantics of APIs in ASP.NET and XAML frameworks and otherwise increase accuracy of JetBrains Rider and ReSharper code inspections.

All usages of JetBrains.Annotations attributes are erased from metadata by default, which means no actual binary reference to 'JetBrains.Annotations.dll' assembly is produced. If you need to preserve these attributes in metadata, just define 'JETBRAINS_ANNOTATIONS' conditional compilation symbol in your projects.

• Added MustDisposeResourceAttribute and HandlesResourceDisposalAttribute attributes for resource disposal analysis. • Added SourceTemplateAttribute.Target property to provide a way to specify expression source template must be applied to. • Added IgnoreSpellingAndGrammarErrorsAttribute to allow ignore grammar and spelling errors in literals passed to marked parameters. • Added AspMinimalApiImplicitEndpointDeclarationAttribute to make IDE aware of Minimal API endpoints from third-party libraries. • NoReorderAttribute can now be applied to multiple parts of the same type.

Dependencies

ID Version Target Framework
System.Runtime 4.1.0 .NETStandard1.0
Details
NuGet
2026-11-23 16:25:17 +00:00
2
JetBrains
176 KiB
Assets (2)
Versions (1) View all
2023.3.0 2026-11-23