lint4sg 0.1.7
dotnet add package lint4sg --version 0.1.7
NuGet\Install-Package lint4sg -Version 0.1.7
<PackageReference Include="lint4sg" Version="0.1.7" />
<PackageVersion Include="lint4sg" Version="0.1.7" />
<PackageReference Include="lint4sg" />
paket add lint4sg --version 0.1.7
#r "nuget: lint4sg, 0.1.7"
#:package lint4sg@0.1.7
#addin nuget:?package=lint4sg&version=0.1.7
#tool nuget:?package=lint4sg&version=0.1.7
lint4sg
A strict Roslyn analyzer that enforces best practices for .NET Source Generator projects.
Source Generators have strict performance and correctness requirements that differ significantly from ordinary C# code. This analyzer catches common mistakes at compile time, acting as a safety net especially when AI coding assistants generate Source Generator code.
See: GitHub Repository
The package includes a buildTransitive target that passes evaluated NuGet package metadata to LSG012 and LSG014. No manual project-file AdditionalFiles entry is required.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.