A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
-
Updated
Jul 23, 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
Exposes project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.
Pure DI for .NET
A mocking library based on the Compiler APIs (Roslyn + Mocks)
C# discriminated union source generator
A source code generator for automatically implementing IEquatable<T> using only attributes.
SpreadCheetah is a high-performance .NET library for generating spreadsheet (Microsoft Excel XLSX) files.
.NET adaptation for Java's Lombok using Source Generators.
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.
Powerful INotifyPropertyChanged / INotifyPropertyChanging Source Generator, which generates INPC boilerplate for you as part of your build. Supports features such as automatic and manual dependencies between properties, notifications when specific properties change, and more.
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."