dotnet add package GenericsAnalyzer --version 1.3.3
NuGet\Install-Package GenericsAnalyzer -Version 1.3.3
<PackageReference Include="GenericsAnalyzer" Version="1.3.3" />
paket add GenericsAnalyzer --version 1.3.3
#r "nuget: GenericsAnalyzer, 1.3.3"
// 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
A Roslyn analyzer for C# for generic types and functions
- GenericsAnalyzer - includes the analyzer, but NOT the core components
- GenericsAnalyzer.Core - ONLY includes the core components
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.
Include a reference to the
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
The analyzer is now finally usable