lint4sg 0.1.7

dotnet add package lint4sg --version 0.1.7
                    
NuGet\Install-Package lint4sg -Version 0.1.7
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="lint4sg" Version="0.1.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="lint4sg" Version="0.1.7" />
                    
Directory.Packages.props
<PackageReference Include="lint4sg" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add lint4sg --version 0.1.7
                    
#r "nuget: lint4sg, 0.1.7"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package lint4sg@0.1.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=lint4sg&version=0.1.7
                    
Install as a Cake Addin
#tool nuget:?package=lint4sg&version=0.1.7
                    
Install as a Cake Tool

lint4sg

NuGet Version GitHub Actions Workflow Status

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.

There are no supported framework assets in this package.

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.

Version Downloads Last Updated
0.1.7 137 10/2/2026
0.1.6 701 3/21/2026
0.1.5 237 3/21/2026
0.1.4 139 3/21/2026
0.1.3 131 3/20/2026
0.1.2 148 3/20/2026
0.1.1 133 3/19/2026
0.1.0 128 3/18/2026