RossLean.GenericsAnalyzer
1.4.0
dotnet add package RossLean.GenericsAnalyzer --version 1.4.0
NuGet\Install-Package RossLean.GenericsAnalyzer -Version 1.4.0
<PackageReference Include="RossLean.GenericsAnalyzer" Version="1.4.0" />
paket add RossLean.GenericsAnalyzer --version 1.4.0
#r "nuget: RossLean.GenericsAnalyzer, 1.4.0"
// Install RossLean.GenericsAnalyzer as a Cake Addin #addin nuget:?package=RossLean.GenericsAnalyzer&version=1.4.0 // Install RossLean.GenericsAnalyzer as a Cake Tool #tool nuget:?package=RossLean.GenericsAnalyzer&version=1.4.0
GenericsAnalyzer
A Roslyn analyzer for empowering the constraint model for generic types and functions in C#. This analyzer also offers quick code fixes on the reported diagnostics regarding the specified constraints.
References
Downloads
NuGet Packages
- RossLean.GenericsAnalyzer - includes the analyzer and the core components.
- RossLean.GenericsAnalyzer.Core - ONLY includes the core components. Using this package alone is not recommended.
Consumption
Include a reference to the RossLean.GenericsAnalyzer
NuGet package in the desired projects. This will automatically include a reference to the RossLean.GenericsAnalyzer.Core
package.
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.
The consumption of this analyzer is tested on Visual Studio 2022. The analyzer may be unusable in Visual Studio 2019. Please file any compatibility issues in the issues of the repository.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- RossLean.GenericsAnalyzer.Core (>= 1.4.0)
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.4.0 | 215 | 2/19/2024 |
New features:
- Type group filters
- Provide a reason for prohibited types
Breaking changes:
- Namespace changed from GenericsAnalyzer to RossLean.GenericsAnalyzer.
This package was moved over to the RossLean organization, along with other upcoming packages.
Make sure to check out the repository for further information.