Rekkonnect / GenericsAnalyzer

A Roslyn analyzer for C# for generic types and functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GenericsAnalyzer

A Roslyn analyzer for C# for generic types and functions

IMPORTANT

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.

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.

About

A Roslyn analyzer for C# for generic types and functions

License:MIT License


Languages

Language:C# 98.6%Language:PowerShell 1.4%