GenericsAnalyzer 1.3.3

Suggested Alternatives

RossLean.GenericsAnalyzer

Additional Details

Project moved over to the RossLean organization

dotnet add package GenericsAnalyzer --version 1.3.3
NuGet\Install-Package GenericsAnalyzer -Version 1.3.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GenericsAnalyzer" Version="1.3.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GenericsAnalyzer --version 1.3.3
#r "nuget: GenericsAnalyzer, 1.3.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GenericsAnalyzer as a Cake Addin
#addin nuget:?package=GenericsAnalyzer&version=1.3.3

// Install GenericsAnalyzer as a Cake Tool
#tool nuget:?package=GenericsAnalyzer&version=1.3.3

GenericsAnalyzer

A Roslyn analyzer for C# for generic types and functions

References

Downloads

NuGet Packages

Extensions

NOTE: The VSIX was discontinued for the following reasons:

  • VSIX releases of an analyzer do not cause compilations to fail despite displaying errors.
  • The analyzer should not be exclusive to a single IDE as an extension, but available to other platforms as a NuGet package.

A VSIX is in the (very distant future) plans for more user-friendly consumption of the feature, by offering some UI to handle the system. Likewise, a Rider extension might be developed as well.

Consumption

Include a reference to the GenericsAnalyzer and GenericsAnalyzer.Core NuGet packages in the desired projects individually.

It is likely that the installation of the analyzer in a project in Visual Studio may cause its behavior to be fuzzy, so it is recommended to restart Visual Studio.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.3.3 475 9/5/2021

The analyzer is now finally usable