Twia.ReSharper 9.0.0

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.

Install-Package Twia.ReSharper -Version 9.0.0
dotnet add package Twia.ReSharper --version 9.0.0
<PackageReference Include="Twia.ReSharper" Version="9.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Twia.ReSharper --version 9.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Versions:
     9.0.0 - Added ReSharper 9 support.
             JetBrains brought the annotation removed in ReSharper 7 back in ReSharper 9.
             Loads of other annotations attributes added.
             Version in sync with latest ReSharper version the annotations are taken from.
             Removed Apache license, as it is not mentioned anymore in the sources, and as no ReSharper 6 sources are used anymore.
     1.1.0 - Support for ReSharper 6 and ReSharper 7.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
9.0.0 7,941 12/25/2014
1.1.0 3,425 12/3/2012
1.0.1 484 10/22/2012