Twia.ReSharper
9.0.0
dotnet add package Twia.ReSharper --version 9.0.0
NuGet\Install-Package Twia.ReSharper -Version 9.0.0
<PackageReference Include="Twia.ReSharper" Version="9.0.0" />
paket add Twia.ReSharper --version 9.0.0
#r "nuget: Twia.ReSharper, 9.0.0"
// Install Twia.ReSharper as a Cake Addin #addin nuget:?package=Twia.ReSharper&version=9.0.0 // Install Twia.ReSharper as a Cake Tool #tool nuget:?package=Twia.ReSharper&version=9.0.0
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 (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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net35 was computed. net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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.