JetBrains.Annotations (2021.3.0)

Published 2023-05-05 11:26:24 +10:00 by achi

Installation

dotnet nuget add source --name lers --username your_username --password your_token 
dotnet add package --source lers --version 2021.3.0 JetBrains.Annotations

About this package

ReSharper 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 ReSharper code inspections.

All usages of ReSharper 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.

• Package/assemblies are now deterministic • Source Link support added • Added AttributeTargets.ReturnValue for CollectionAccessAttribute • Added 'LanguageInjectionAttribute' to mark parameter, field, or property as an injected code fragment • Added 'CodeTemplateAttribute' to define structural search and replace patterns in code for members or types • Added 'InstantHandleAttribute.RequireAwait' property to limit the applicability of the attribute to calls under 'await' expression

Dependencies

ID Version Target Framework
System.Runtime 4.1.0 .NETStandard1.0
Details
NuGet
2023-05-05 11:26:24 +10:00
5
JetBrains
151 KiB
Assets (1)
Versions (1) View all
2021.3.0 2023-05-05