A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
☆2,397Feb 12, 2026Updated 2 weeks ago
Alternatives and similar repositories for csharp-source-generators
Users that are interested in csharp-source-generators are comparing it to the libraries listed below
Sorting:
- A .NET source generator for generating object mappings. No runtime reflection.☆3,926Feb 21, 2026Updated last week
- C# Source Generator based dependency injection container implementation.☆1,175Sep 12, 2025Updated 5 months ago
- compile time dependency injection for .NET☆869Jun 30, 2025Updated 8 months ago
- Expose project and assembly level information as constants in the ThisAssembly class using source generators powered by Roslyn.☆506Updated this week
- A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects☆1,377Jan 25, 2026Updated last month
- PolySharp provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel. Add …☆2,161Dec 6, 2025Updated 2 months ago
- Next generation API for .NET☆1,905Feb 18, 2026Updated last week
- Pure DI for .NET☆767Updated this week
- A .NET library that makes it easier to create beautiful console applications.☆11,234Updated this week
- C# discriminated union source generator☆864Updated this week
- Verify is a snapshot testing tool that simplifies the assertion of complex data models and documents.☆3,390Feb 21, 2026Updated last week
- A high performance implementation of Mediator pattern in .NET using source generators.☆3,368Feb 8, 2026Updated 2 weeks ago
- A Roslyn analyzer to enforce some good practices in C#.☆1,093Updated this week
- A fast, powerful, safe and lightweight scripting language and engine for .NET☆3,804Feb 20, 2026Updated last week
- Easy to use F#-like ~discriminated~ unions for C# with exhaustive compile time matching☆4,003Aug 7, 2024Updated last year
- Fast Compiler for C# Expression Trees and the lightweight LightExpression alternative. Diagnostic and code generation tools for the expre…☆1,348Updated this week
- The ultimate fast alternative to Activator.CreateInstance<T> / new T()☆271Jan 15, 2026Updated last month
- Set of roslyn-based analyzers for catching common C# errors (inspired by Google's error-prone)☆1,102Jul 31, 2025Updated 7 months ago
- Library for interacting with command-line interfaces☆4,896Jan 14, 2026Updated last month
- Assembly scanning and decoration extensions for Microsoft.Extensions.DependencyInjection☆4,250Jan 23, 2026Updated last month
- A source generator for generating fast "reflection" methods for enums☆1,102Updated this week
- A library to provide pooling for .NET MemoryStream objects to improve application performance.☆2,128Updated this week
- High performance understanding for stack traces (Make error logs more productive)☆2,867Mar 14, 2024Updated last year
- Roslyn tool that for a given C# program shows syntax tree API calls to construct its syntax tree☆1,078May 31, 2025Updated 9 months ago
- Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.☆2,134Updated this week
- The automatic type-safe REST library for .NET Core, Xamarin and .NET. Heavily inspired by Square's Retrofit library, Refit turns your RES…☆9,399Feb 18, 2026Updated last week
- FusionCache is an easy to use, fast and robust hybrid cache with advanced resiliency features.☆3,550Feb 17, 2026Updated last week
- Near-zero config .NET library that makes advanced application features like Task Scheduling, Caching, Queuing, Event Broadcasting, and mo…☆4,269Jul 20, 2025Updated 7 months ago
- A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.☆9,616Dec 22, 2025Updated 2 months ago
- World's Fastest .NET CSV Parser. Modern, minimal, fast, zero allocation, reading and writing of separated values (`csv`, `tsv` etc.). Cro…☆1,392Updated this week
- Roslynator is a set of code analysis tools for C#, powered by Roslyn.☆3,386Updated this week
- A modern, fast and flexible .NET testing framework☆3,749Updated this week
- .NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform…☆3,619Feb 2, 2026Updated 3 weeks ago
- Powerful .NET library for benchmarking☆11,365Updated this week
- A fast, fun and stimulating object to object Mapper☆5,013Feb 16, 2026Updated last week
- Command line parsing, invocation, and rendering of terminal output.☆3,641Updated this week
- A Rosyln-powered generator for strongly-typed IDs☆1,716Feb 21, 2025Updated last year
- A helper library for async/await.☆3,709Jan 1, 2024Updated 2 years ago
- Curated list of awesome Roslyn books, tutorials, open-source projects, analyzers, code fixes, refactorings, and source generators☆733Jan 16, 2024Updated 2 years ago