A Roslyn analyzer for C# for generic types and functions
The project has been ported over under the umbrella of RossLean: Link
This repository will remain as a public archive, but development will continue over at RossLean.
- 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
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.