# amis92/csharp-source-generators

A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.

Repository: https://github.com/amis92/csharp-source-generators
Canonical: https://ross.abutalabs.com/products/csharp-source-generators
License: CC0-1.0
License Family: permissive
Topics: csharp-sourcegenerator, csharp, list, awesome-list, roslyn, dotnet
Last push: 2026-07-04T11:55:47+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 2154, "days_push": 60, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2417, forks 227 (observed 2026-08-28T04:06:50.391167+00:00)

## What it is
A curated list of C# Source Generators, along with articles, talks, documentation, and demo resources. It catalogs generators by category (DI, serialization, mappers, etc.) and links to Roslyn SDK materials for building your own.

## Use cases
- find a C# source generator for my use case
- learn how to write a Roslyn source generator
- discover source generators for dependency injection or serialization
- find articles and talks about C# source generators
- browse a catalog of dotnet code generation tools
- get a template or playground for building source generators

## When to choose
- you develop in C#/.NET and want to discover or compare source generators
- you're learning Roslyn source generator development and need docs, samples, and templates
- you want a categorized index of generators instead of searching GitHub manually

## When to avoid
- you need a source generator itself rather than a list of them
- you work outside the .NET/C# ecosystem
- you need guaranteed up-to-date or vetted entries - it's a community-maintained list

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, compiler, documentation
- domain: developer-tools, awesome-lists, programming-languages, compilers
- platform: dotnet, cross-platform
- tags: csharp, roslyn, source-generators, awesome-list, curated-list, dotnet, code-generation

## Member repositories
- amis92/csharp-source-generators (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:50.391167+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:33:07.565543+00:00, confidence not recorded.
  - readme: https://github.com/amis92/csharp-source-generators (fetched 2026-08-28T04:06:50.391167+00:00, sha 38cfd58ff9b9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
