NuGet Package JetBrains.Annotations from ReSharper 9.

This package contains the JetBrains.Resharper assembly with the annotations from the ReSharper Annotated Framework.

The annotations are for use in combination with JetBrains ReSharper. See the project URL on how to use the annotations.
The annotations are taken from ReSharper 9.
Source code can be annotated with the shared annotations between the two versions such as [NotNull] and [CanBeNull], and can be double annotated with the [AssertionMethod] for ReSharper 6 and 9 and the [ContractAnnotation] for ReSharper 7 and above.
As of ReSharper 9 the annotation attributes are all marked with the [Conditional("JETBRAINS_ANNOTATIONS")] attribute. As a result, by default the annotations do not end up in the metadata of the compiled assembly, and no reference is added to the JetBrains.Annotations assembly. To keep the annotations in the output, define the 'JETBRAINS_ANNOTATIONS' conditional compilation symbol in your project.
JetBrains provides the NuGet package with ID JetBrains.Annotations (https://www.nuget.org/packages/JetBrains.Annotations/) which contains the same annotations, and should be considered as a good alternative to this package.

Both packages only differ in the targets they provide builds for. The Twia.ReSharper package provides builds for .NET 2.0 (net20) and .NET 4.0 (net40). The JetBrans.Annotations package provides a .NET 2.0 (net20) and a few portable library builds.
Finally, I have no links to JetBrains what so ever, except that I am a happy user of ReSharper.

Info

Version: 9.0.0
Author(s): Daniël te Winkel
Last Update: Thursday, December 25, 2014
.NET Fiddle: Create the first Fiddle
Project Url: http://www.jetbrains.com/resharper/help/Code_Analysis__Code_Annotations.html
NuGet Url: https://www.nuget.org/packages/Twia.ReSharper


Install
Install-Package Twia.ReSharper
dotnet add package Twia.ReSharper
paket add Twia.ReSharper
Twia.ReSharper Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1

avg-downloads-per-day

5

days-since-last-release

2329