A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
-
Updated
May 17, 2024
A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
A .NET source generator for generating object mappings. No runtime reflection.
A high performance implementation of Mediator pattern in .NET using source generators.
A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
ComWrappers required to run NativeAOT and WinForms
Portable Razor compiler & code generator
compile time dependency injection for .NET
Pure DI for .NET without frameworks!
Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.
A source code generator for automatically implementing IEquatable<T> using only attributes.
A mocking library based on the Compiler APIs (Roslyn + Mocks)
C# discriminated union source generator
SpreadCheetah is a high-performance .NET library for generating spreadsheet (Microsoft Excel XLSX) files.
C# GraphQL client with Linq-like syntax
A C# source generator to create an enumeration class from an enum type. With this package, you can work on enums very, very fast without using reflection.
Generate primary constructor from readonly fields
A simple source generator that creates interfaces by implementations.
Add a description, image, and links to the csharp-sourcegenerator topic page so that developers can more easily learn about it.
To associate your repository with the csharp-sourcegenerator topic, visit your repo's landing page and select "manage topics."