GenericsAnalyzer.Core
1.3.3
dotnet add package GenericsAnalyzer.Core --version 1.3.3
NuGet\Install-Package GenericsAnalyzer.Core -Version 1.3.3
<PackageReference Include="GenericsAnalyzer.Core" Version="1.3.3" />
paket add GenericsAnalyzer.Core --version 1.3.3
#r "nuget: GenericsAnalyzer.Core, 1.3.3"
// Install GenericsAnalyzer.Core as a Cake Addin
#addin nuget:?package=GenericsAnalyzer.Core&version=1.3.3
// Install GenericsAnalyzer.Core as a Cake Tool
#tool nuget:?package=GenericsAnalyzer.Core&version=1.3.3
GenericsAnalyzer
A Roslyn analyzer for C# for generic types and functions
References
Downloads
NuGet Packages
- GenericsAnalyzer - includes the analyzer, but NOT the core components
- GenericsAnalyzer.Core - ONLY includes the core components
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.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 2.0
- RoseLynn (>= 0.3.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.