Skip to main content
CSharp.SourceGenerators.Extensions package icon

CSharp.SourceGenerators.Extensions

Some extensions for a ISourceGenerator and IIncrementalGenerator which can be used to execute a SourceGenerator manually which makes unit-testing easy.

Total Downloads
8.1K
8,126
Published
Aug 24, 2025
Latest stable version

Install

.NET CLI
dotnet add package CSharp.SourceGenerators.Extensions --version 0.0.14
Package Manager Console
Install-Package CSharp.SourceGenerators.Extensions -Version 0.0.14
PackageReference
<PackageReference Include="CSharp.SourceGenerators.Extensions" Version="0.0.14" />

Frameworks

.NETStandard2.1

Dependencies

AnyOf
.NETStandard2.1
[0.5.0.1, )
[4.14.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.