JetBrains.Annotations
2021.2.0
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.
Install-Package JetBrains.Annotations -Version 2021.2.0
dotnet add package JetBrains.Annotations --version 2021.2.0
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
paket add JetBrains.Annotations --version 2021.2.0
#r "nuget: JetBrains.Annotations, 2021.2.0"
// Install JetBrains.Annotations as a Cake Addin
#addin nuget:?package=JetBrains.Annotations&version=2021.2.0
// Install JetBrains.Annotations as a Cake Tool
#tool nuget:?package=JetBrains.Annotations&version=2021.2.0
Release Notes
• Added 'UriStringAttribute' to enable URL features on string literals
• Added 'RequireStaticDelegateAttribute' to enforce the allocation-less usage patterns
Dependencies
-
.NETFramework 2.0
- No dependencies.
-
.NETStandard 1.0
- System.Runtime (>= 4.1.0)
-
.NETStandard 2.0
- No dependencies.
-
Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)
- No dependencies.
Used By
NuGet packages (172)
Showing the top 5 NuGet packages that depend on JetBrains.Annotations:
| Package | Downloads |
|---|---|
|
JetBrains.Avalonia
Avalonia is a WPF/UWP-inspired cross-platform XAML-based UI framework providing a flexible styling system and supporting a wide range of Operating Systems such as Windows (.NET Framework, .NET Core), Linux (via Xorg), MacOS and with experimental support for Android and iOS.
|
|
|
ViCtor3.AddInView
Basis Interface für die AddIn Entwicklung
|
|
|
JetBrainsAnnotations.Fody
Converts all JetBrains ReSharper code annotations attributes to External Annotations, so you can provide R# annotations to 3rd parties but don't need to deploy JetBrainsAnnotations.dll.
|
|
|
Visitmedia.CsvHelper
CsvHelper erweiterungen
|
|
|
Visitmedia.LiquidEngine
Dot Liquid Core Componente
|