csharp-source-generators
A list of C# Source Generators (not necessarily awesome) and associated resources: articles, talks, demos.
https://github.com/amis92/csharp-source-generators
Last synced: about 3 hours ago
JSON representation
-
Articles
-
Other
- .NET Blog 'Introducing C# Source Generators' post - 04-29) that announces the feature.
- .NET Blog 'New C# Source Generator Samples' post - 08-25) that shows some simple samples.
- Series: Creating a source generator - 02-01) Complete series about how to create an incremental source generator, using the APIs introduced in .NET 6.
- Mastering at Source Generators - 01-15) Generating CRUD controller from DTO model using text template.
- Using C# Source Generators to create an external DSL - 01-27) that shows how to implement a simple DSL.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- .NET 5 Source Generators - MediatR - CQRS - OMG! - 12-16) explores how source generators can be used to automatically generate an API for a system using the MediatR library and the CQRS pattern.
- Source Generators in .NET 5 with ReSharper - 11-20) introduces source generators and briefly mentions how they are being worked into the ReSharper product.
- Source Generators - real world example - 11-09) contains a rich and deep dive into a real world generator with lots of useful tips.
- How to profile C# 9.0 Source Generators - 10-10) demonstrates how to profile your source generator using the [performance profiling tools built into Visual Studio](https://docs.microsoft.com/en-us/visualstudio/profiling/?view=vs-2019).
- How to Debug C# 9 Source Code Generators - 10-09) contains debugging tips.
- How to generate code using Roslyn source generators in real world scenarios - 09-17) rich story of how ThisAssembly generator was written using Scriban templates.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- .NET 5 Source Generators - MediatR - CQRS - OMG! - 12-16) explores how source generators can be used to automatically generate an API for a system using the MediatR library and the CQRS pattern.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- Mastering at Source Generators - 01-15) Generating CRUD controller from DTO model using text template.
- 4 ways to generate code in C# — Including Source Generators in .NET 5 - 01-19) demonstrates the comparison between Source Generators, T4 template and Reflection, etc.
- Source Generators - real world example - 11-09) contains a rich and deep dive into a real world generator with lots of useful tips.
-
-
Documentation and samples
- dotnet/roslyn feature design document
- dotnet/roslyn cookbook
- dotnet/roslyn-sdk samples
- SourceGeneratorPlayground - an online Source Generator Playground to play with generator ideas 💡 without any setup noise. [Source repo](https://github.com/davidwengier/SourceGeneratorPlayground).
- davidwengier/SourceGeneratorTemplate -   A basic template for writing a C# source generator, from the Roslyn dev.
- docs.microsoft.com
- SourceGeneratorPlayground - an online Source Generator Playground to play with generator ideas 💡 without any setup noise. [Source repo](https://github.com/davidwengier/SourceGeneratorPlayground).
-
Meta - libs and generators for other generators
-
Other
- REPO -  
- SourceGenerator.Helper.CopyCode -   - A simple Generator that generates a string representation to an annotated Type.
- AttributeFactoryGenerator -   - Generate factories to easily parse actual attribute instances from symbol data.
- AttributesSourceGeneratorHelper -   A source generator to help another generator by producing attributes. Anything that inherits from Attribute will be sent to the client so you don't have to build strings for attributes.
- CommonSourceGeneratorsHelpers -   A generator to create many helpers for source generators to use to make up that its very difficult to reference third party libraries in source generators including extensions and a source code string builder.
- HotReload -   - A simple hack to enable hot reload in Visual Studio Intellisense when developing a source generator project together with an example dependent client project inside a single solution.
- SourceGeneratorUtils -   An essential library equipped with utility functions and helpers to aid in writing source files for source generators or for general purposes. Based on the `System.Text.Json` source generator architecture for best-practices.
-
-
Source Generators
-
Serialization
- AutoDeconstructable -   Generator for efficient and automatic flat text serializer/deserializer using [Deconstructable aspect](https://github.com/nemesissoft/Nemesis.TextParsers/blob/master/Specification.md#deconstructables) in [NTP](https://github.com/nemesissoft/Nemesis.TextParsers) library.
- GeneratedJsonConverters -   - generate json converters for polymorph contracts and string based enum serialization.
- JsonPolymorphicGenerator -   - Source Code Generator for System.Text.Json JsonDerivedType attributes on polymorphic classes
- ProtobufSourceGenerator -   - A source generator that generates partial helper classes where member properties are attributed with ProtoMember attribute.
- SpreadCheetah -   Create Excel files with a C# Source Generator for generating the rows.
- TeuJson -   A Reflection-less and Lightweight Json Library using source generator.
- Tinyhand -   - Tiny and simple data format/serializer using a source generator.
- CSV-Parser-Generator -   A Parser for CSV with support for uncommon line separators (e.g. Unicode) and instantiation of read-only objects and working nullable handling.
- JsonByExampleGenerator -   - generate classes based on example json files in your project.
- JsonDeserializeResourceSourceGenerator -   Instead of having to do embedded resource, can instead have json as additional file and it will produce a c# string and will deserialize to a type specified.
- JsonSerializerContextGenerator -   A source generator that produces nearly the same code as system.json.text but easier to use because you only have to put an attribute for a model class you want to produce for. Also, produces a method to register to make it easy to use that source generator when serializing/deserializing json.
- JsonSrcGen -   - compile time JSON serializer generation.
- StackXML -   Stack based zero-allocation XML serializer and deserializer.
- GenPack -   is a library that uses the .NET source generator to automatically generate packets as classes once you define a schema for the packets. It's easy to use and the results are useful.
- Azura -   Generates binary [de]serializers on Streams at design time.
- SerdeDn (serde-sn) -   is a port of the popular [serde.rs](https://serde.rs/) Rust serialization/deserialization library to .NET. Basic cases are fully automated using a C# source generator.
-
Other
- AutoFilterer.Generators -   AutoFilterer.Generators aims to generate filter DTOs from entities automatically via using dotnet source generators.
- FastGenericNew -   The ultimate fast alternative to `Activator.CreateInstance<T>` / `new T()`. Built on SourceGenerator V2 (Incremental Generator).
- PolySharp -   Provides generated, source-only polyfills for C# language features, to easily use all runtime-agnostic features downlevel.
- BuildInformationGenerator -   Adds build information, like build time, commit it and branch, as simple constants.
- BitsKit - A C# library for efficient bit-level reading and writing also adding bit field support
- LinqGen -   Alloc-free and fast replacement for Linq, with code generation.
- AutoInvoke -   A generator that generates a method that invokes a specified generic method, for every Type in your project that satisfies a defined constraint.
- CacheSourceGenerator -   Generates an IMemoryCache wrapper around a method call.
- net_automatic_interface -   .Net Core Source Generator for Automatic Interfaces.
- Hangfire.RecurringJob -   - Automatically generates the recurring job registration code.
- AutoConstructor -   C# source generator that generates a constructor from readonly fields/properties in a class or struct.
- IDisposableGenerator -   - a Source Generator for Generating the Dispose functions in Disposables. All you have to do is mark them with attributes and it will work from there.
- StringLiteralGenerator -   for optimizing UTF-8 binaries.
- SyncMethodGenerator -   - Generates a synchronized method from your async code.
- QuickConstructor -   A reliable and feature-rich source generator that can automatically emit a constructor from the fields and properties of a class. It can also generate null checks based on nullable reference types annotations.
- BigMachines -   BigMachines is State Machine library for .NET.
- LoggingDecoratorGenerator -   Generates logger decorator class for an interface. Uses Microsoft.Extensions.Logging.ILogger to log and requires it in decorator class constructor.
- TupleOverloadGenerator -   - Overload `params` array parameter with tuples avoiding heap allocations.
- ValueLink -   A C# Library for creating and managing multiple links between objects.
- Cloneable -   auto-generate Clone method.
- Durian -   Extends the default capabilities of C# by mimicking features from other languages.
- Fairy -   generates C# code based on Sitecore Content Serialization (SCS) `.yml` files.
- GitBuildInfo.SourceGenerator -   - for dumping the git information (commit hash, branch, the head description) into assembly level metadata attributes.
- Lazysh -   Lazy implementation of any interface.
- MemberAccessGenerator -   generates `GetMember(int)` and/or `GetMember(string)` methods that return property value for a given property name or index (e.g. in positional records).
- MrMeeseeks.StaticDelegateGenerator -   Makes static classes and members injectable as dependency by generating delegating interfaces and their implementing classes.
- PrimaryConstructor -   Generate primary constructor from readonly fields.
- PrimitiveStaticDataGenerator -   for creating methods that return optimized `ReadOnlySpan<T>` static data from primitive values.
- PrintMembersGenerator -   helps re-defining C# record's PrintMembers method to force include/exclude certain members.
- SmartAnnotations -   A library that uses source generators to automatically generate data annotations for your models. It provides a strongly-typed mechanism (fluent like API) to define your annotation rules.
- ToString -   - C# source generator for implementing `ToString` override like `record` type.
- Credfeto.Version.Information.Generator -   Minimal source generator for embedding build information as compile time constants. Constants added to `VersionInformation` class in each assembly for `Version`, `Product`, `Company` and `Copyright`.
- Dolly -   auto-generate Clone & DeepClone method.
- AutoLoggerMessage -   Automatically migrates your logging calls to the LoggerMessage (high-performance logging) version
- CsCodeGenerator -   Easy C# class and code generation, POCO object and Methods creation.
- AssemblyVersionInfo -   AssemblyVersionInfo is a very simple source generator that generates constant strings of your assembly name and version. The intended usage is for the System.CodeDom.Compiler.GeneratedCodeAttribute.
- AutoInterface -   AutoInterface is a source generator that generates an interface based on your class/struct. Basically, you write your class and get the corresponding interface for free.
- Navitski.Crystalized -   Generates domain model based on schema files. Generated model supports undo/redo, saving to/loading from SQLite and Json files, precise changes tracking and more.
- SmallSharp -   Create, edit and run multiple C# 9.0 top-level programs in the same project by just selecting the startup program from the start button.
- ThisAssembly -   Exposes project and assembly level information as constants in the ThisAssembly class.
-
Dependency Injection (IoC Container)
- DependencyInjection.SourceGenerators - mll/Microsoft.Extensions.DependencyInjection.SourceGenerators?style=flat-square&cacheSeconds=604800)  This project is a C# source generator designed to simplify and automate the registration of dependencies in Microsoft's Dependency Injection service collection. By using this package, developers can enhance the clarity and efficiency of their code by reducing the need for manual service registration.
- ServiceScan.SourceGenerator -   Type scanning source generator for `Microsoft.Extensions.DependencyInjection` services registrations inspired by [Scrutor](https://github.com/khellang/Scrutor/).
- SourceDepend -   Simply tag members with a `[Dependency]` attribute and those will be added to the constructor, saving you from manual coding the constructor.
- Jab -   - Compile Time Dependency Injection
- Injectio -   - Source generator that helps register discovered services in the dependency injection container
- AutoRegisterInject -   Automatically generate Microsoft Dependency Injection ServiceCollection registrations for your classes from attributes.
- AutoCtor -   AutoCtor is a Roslyn Source Generator that will automatically create a constructor for your class for use with constructor Dependency Injection.
- DependencyManagement -   The Dependency Management is a very fast dependency injection and components container, with many interesting features, and without reflection.
- Pure.DI -   - dependency injection for .NET without any IoC/DI containers, frameworks, dependencies, and thus without any performance impact and side-effects.
- StrongInject -   - compile time dependency injection for .NET.
- GrpcInjection -   - GrpcInjection is a tool that allow you to inject Services and Interceptor in time of compilation inside of GRPC Projects using C# source generator.
- lambdajection -   Framework for building AWS Lambdas using dependency injection and aspect-oriented programming.
- MrMeeseeks.DIE -   An unambigous, convenient, flexible and feature rich compile time dependency injection container.
- Thunderboltloc -   One of the very first IoC frameworks for .Net that has no reflection.
- CircleDI -   The world only full-power circular Service Provider. It can resolve circular dependencies, has compile time safety and optimal performance.
-
Patterns
- Plastic -   This project provides encapsulation of things like Domain, Application Rules, Business Rules or Business Logic in Application.
- Mediator -   - a high performance implementation of Mediator pattern in .NET using source generators.
- ActorSrcGen -   Generates boilerplate to turn simple C# classes into TPL Dataflow compatible pipelines with robust and performant asynchronous and concurrent code.
- Minerals.AutoMixins -   Package for automatic mixin design pattern generation using an incremental source generator.
- Minerals.AutoInterfaces -   Package for automatic interface generation using an incremental source generator.
- DudNet -   A C# source generator for implementing a proxy pattern.
- M31.FluentAPI -   - Generate fluent APIs for your C# classes with ease.
- Lombok.NET -   Generates boilerplate code and common code patterns. As the name suggests, it is the .NET version of Java's Lombok.
- Visitor.NET -   First-ever acyclic generic extensible typesafe implementation of Visitor pattern for .NET without any usage of dynamic cast. Implementation powered by Source Generators
- Minerals.AutoCQRS -   NuGet package that provides interfaces for implementing the CQRS pattern (Commands, Queries, and Pipelines) along with automatic dependency injection and no MediatR package overhead.
- AutoInterface -   interface-to-member source generator.
- Data Builder Generator -   Generate data builder patterns for your model classes.
- FluentBuilder -   - A project which uses Source Generation to create a FluentBuilder for a specified model or DTO.
- MediatR controllers generator -   This generator generates controllers and their methods based on your [MediatR](https://github.com/jbogard/MediatR) requests.
- MrMeeseeks.Visitor -   Generates the boilerplate code for applications of the Visitor pattern.
- DumplingsDevs.Pipelines -   The most flexible mediation implementation in the .NET ecosystem with your own types.
- Immediate.Handlers -   An implementation of the Mediator pattern in .NET using source generators, without using a central mediator instance.
- Immediate.Handlers -   An implementation of the Mediator pattern in .NET using source generators, without using a central mediator instance.
- SuperFluid -   Generates the interfaces to represent a fluent API with grammar
- StepwiseBuilderGenerator -   - Generate stepwise (fluent) builders effortlessly.
- InlineComposition -   A source generator that merges the content of other classes into one class. A simple workaround for struct inheritance or multiple inheritance.
- JinShil.MixinSourceGenerator -   A simple, but powerful source generator that implements the mixin design pattern by copying members—along with their attributes and XML documentation comments—verbatim from one or more source classes/structs into anaother, forming a composition of said classes/structs.
- Foundatio Mediator -   - Blazingly fast, convention-based C# mediator powered by source generators and interceptors.
-
Console / CLI
- docopt.net -   generates C# source code that parses command-line arguments into a strong-typed arguments class (also generated), given _just_ the [POSIX-style usage in plain text](http://docopt.org/) as part of the CLI. In other words, write the help message for your program and get the entire parser generated for free!
- ConsoleAppFramework -   - Zero Dependency, Zero Overhead, Zero Reflection, Zero Allocation, AOT Safe CLI Framework powered by C# Source Generator.
- AutoSpectre -   Generates a service for prompting and populating a class using the Spectre.Console library
- Figgle -   - Generate ASCII banner text at compile time (or run time) using figlet fonts.
-
Mappers
- Mapperly -   - A source generator for generating object mappings. Inspired by MapStruct.
- Mapster -   - A fast, fun and performant object to object Mapper. Has better performance and is more memorry efficient than Automapper. Besides code generation, supports also Fluent API.
- MapTo -   - A convention based object to object mapper similar to Automapper.
- AutoDto -   - A source generator that generates DTO models from BL to avoid same BL and DTO models
- NextGenMapper -   Easy-to-use mapper without configuration.
- Flattening -   - C# source generator for generating flattened classes from complex domain classes.
- GraphQL.Tools -   - A GraphQL to C# compiler (code-generator) which turns your GraphQL schema into a set of C# classes, interfaces, and enums.
- MappingCloningExtensions -   Generates extensions of objects for mapping and cloning using either attributes or fluent style. Also, supports deep copying and specfiying whether it can do a deep copy and the possibility of doing so safely.
- SourceMapper -   - generates Mappers code based on attributes used on interfaces or abstract classes. It is inspired by Java [MapStruct](https://mapstruct.org/)
- Facet -   A source generator that instantly scaffolds DTOs, ViewModels and typed LINQ projections.
-
Enums
- NetEscapades.EnumGenerators -   A source generator for generating fast "reflection" methods for enums
- Credfeto.Enumeration.Source.Generation -   Enum to text generator for enums - generates strongly typed enums for all enums in the assembly, and using `EnumText` attribute for third party enums. Also includes an analyzer to ensure that all enum usages use the `.GetName` extension method rather than `.ToString`.
- EnumClass -   Generate Kotlin's `enum class` from C# `enum` with additional features like Switch function (instead of `switch` statement). It also contains support libraries like generator for JsonConverter for generated classes
- JOS.Enumeration -   Enumeration class powered by source generation
- BetterEnums -   C# Enums with values and better performance as a source generator
- Enum.Source.Generator -   A C# source generator to create an enumeration (enum) class from an enum type. With this package, you can work on enums very, very fast without using reflection.
- EnumerationClassGenerator -   - A C# source generator to create an enumeration class from an enum type.
- EnumFastToStringDotNet -   - Automatically generates enum extension methods that implement a switch expression based ToString method.
- EnumUtilitiesGenerator -   - A source generator to generate compile-time mapping of enums and description attributes.
- FastEnumGenerator -   An enum like generator where you create a partial class with private enum and it will generate an enum like record struct even including returning the words and a list.
-
XAML / WPF / Avalonia
- Microsoft MVVM Toolkit -   A modular MVVM library with support for source generators to reduce boilrplate and improve performance.
- PropertyChanged.SourceGenerator -   - Powerful INotifyPropertyChanged 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.
- boilerplatezero -   WPF Dependency Property and Routed Event generator.
- DependencyPropertyGenerator -   Dependency property and routed event source generator for WPF/UWP/WinUI/Uno/Avalonia/MAUI platforms.
- MvvmGen -   A lightweight MVVM library for XAML applications that generates your ViewModels with a C# Source Generator.
- Avalonia.NameGenerator -   Generates typed references to named [Avalonia](https://github.com/avaloniaui) XAML controls.
- DevExpress.Mvvm.CodeGenerators -   Generates boilerplate code for your View Models (INotifyPropertyChanged, Commands, IDataErrorInfo, DevExpress services). Compatible with the Prism and MVVM Light libraries.
- ValueChangedGenerator -   for generating PropertyChanged from inner struct members.
- WinUI-ObservableSettings -   - Generate boilerplates to read and write settings in packaged WinUI 3 app.
-
Graphics / Drawing
- Svg to C# Source Generators -   SVGC compiles SVG drawing markup to C# using SkiaSharp as rendering engine. SVGC can be also used as codegen for upcoming C# 9 Source Generator feature.
- ComputeSharp -   A .NET library to run C# code in parallel on the GPU through DX12 and dynamically generated HLSL compute shaders, which are transpiled from C# and precompiled at build-time using source generators.
-
Communication
- CoreWCF -   CoreWCF provides support of WCF server side code on .NET Core / .NET6. CoreWCF allows users to inject services into `OperationContract` implementation using a source generator to provide an `OperationContract` implementation that fits the expected `ServiceContract`. The supplied implementation fetch services from the DI container the same way the `[FromServices]` attribute works in ASP.NET core MVC Controllers. The source generator supports both a dedicated `[Injected]` attribute and the ASP.NET Core MVC `[FromServices]` attribute.
- Imp.NET -   - a fast, high-level, object-oriented C# networking library that supports the invocation of remote methods through proxy interface objects.
- IoTHubClientGenerator -   Build a C# Azure IoT Device client program in seconds!
-
Functional Programming
- StronglyTypedId -   A Rosyln-powered generator for strongly-typed IDs
- Generator.Equals -   generates equality and hashing for classes and records, supports a number of strategies for comparing collections and properties.
- Vogen -   C# source generator and code analyser that generates strongly typed domain identities.
- Funcky Discriminated Unions -   A source generator that generates `Match` methods for all your discriminated unions needs. ✨ Can be used with or without the functional programming library Funcky.
- RSCG_UtilityTypes -   Add Omit and Pick attributes to generate classes from existing class, like in TypeScript.
- N.SourceGenerators.UnionTypes -   Discriminated union type source generator.
- Strongly - square&cacheSeconds=604800)  - Easily generate serializable domain value types
- Immutype -   - generates extension methods to support immutability.
- Dunet -   A simple source generator for [discriminated unions](https://en.wikipedia.org/wiki/Tagged_union) in C#.
- WrapperValueObject -   - for creating simple value objects wrapping primitive types.
- AnyOf -   The Source Generator creates a `AnyOf<First, TSecond, ...>` type to handle multiple defined types as input parameters for methods.
- dotVariant -   A type-safe and space-efficient sum type for C# (comparable to discriminated unions in C or C++).
- ValueObjectGenerator -   C# source generator is for ValueObjects (ie.Wrapper classes).
- Visor -   C# optics library with incremental code generator (maintained fork of [suspended Tinkoff project](https://github.com/Tinkoff/Visor))
- Unions -   for generating meaningful, efficient union types.
- ComparisonOperatorsGenerator -   A Source Generator package that generates the `>`, `>=`, `<`, `<=` operators for a `partial` type (`class`, `struct` or `record`) which implements `IComparable<T>`.
- Unions -   for generating meaningful, efficient union types.
-
Webprogramming
- Safe-Routing -   Analyses a project's razor pages and MVC controllers, producing strongly-typed representations of those routes as you type
- MiniRazor -   Portable Razor compiler & code generator.
- Ridge -   Generates strongly-typed clients for API based on controller definition and internal application details.
- ApiClientGenerator -   Generates a strongly typed HttpClient based off MVC's default routing. Can be used to output into multiple projects, like Blazor WebAssembly.
- ControllerGenerator -   Automatically generate controllers from services in a web application
- H.NSwag.Generator -   - C# Source Generator for NSwag.
- ST.NSwag.ServerSourceGenerator -   Generates Web API/ASP.NET Core controllers from a OpenAPI specification.
- TypedSignalR.Client -   C# Source Generator to create strongly typed SignalR clients.
- BlazorInteropGenerator -   Generates Blazor -> Javascript strongly typed interop methods, by parsing the Javascript it self and generating extension methods for IJSRuntime.
- BlazorOcticons -   Github [Octicons](https://primer.style/octicons/) created as a `.razor` components using source generator. The generated components are available via the NuGet package, the generator itself is available as a separate NuGet package. The project [website](https://blazorocticons.net/) is an example using the generated components.
- HttpClientCodeGenerator -   - HttpClientGenerator is a tool that uses the Roslyn code generator feature to write boilerplate HttpClient code for you.
- RazorPageRouteGenerator -   Generates methods with parameters for Razor and Blazor pages, so you can navigate without having to guess URLs or parameters.
- SourceApi -   - API first Open API code generator based on json or yaml definitions. It generates base abstract controllers with docs, routes, that you inherit and implement in your controllers.
- Immediate.Apis -   - Generates minimal APIs bindings for [Immediate.Handlers](https://github.com/immediateplatform/immediate.handlers) handlers.
- Blazor.TSRuntime -   An improved JSRuntime with automatic JS-module loading and caching, compile time errors instead of runtime errors and nice IntelliSense guidance.
-
Text templating
- TemplatePropertyGenerator -   Generates strongly typed stringformatters based on Stringformats
- Weave -   Weave is a text templating engine for .NET that is all about attention to detail. Weave handles the tricky work of making your rendered text beautiful.
- Transplator -   A simple C# source generator for text templates.
-
Database / ORM
- TableStorage -   Streamlined way of working with Azure Data Tables that mimics Entity Framework's way of working with DbSets. Source Generators for the Table Entities to avoid any reflection calls being made, making it easier to use Azure Data Tables in a NativeAOT project.
- Breezy -   Micro ORM with source generator.
- AdaskoTheBeAsT.Identity.Dapper -   - Custom Dapper implementation for Microsoft.Extensions.Identity.Stores (part of ASP.NET Core Identity)
- MapDataReader -   - Fast mapping `IDataReader` to a custom class
- SqlMarshal -   Native AOT friendly-performant mini-ORM. Generation of wrappers for accessing SQL using ADO.NET.
- Dynatello -   A source generator for the low-level API of DynamoDB.
- EntityLengths.Generator -   Source Generator designed to automatically generate string length constants from Entity Framework configurations and data annotations.
- AutoDbSet -   Source Generator to automatically create `DbSet<T>` properties on the `DbContext` from marked entities
- NpgsqlSourceGenerators -   Source Generator to automatically register marked enums with NpgSQL for use with PostgreSQL
- Unflat -   ORM for zero allocation fast parsing into complex classes/structs with custom type parsers support
-
Domain Driven Design (DDD)
- Architect.DomainModeling -   A complete Domain-Driven Design (DDD) toolset for implementing domain models, including base types and source generators for ValueObjects, WrapperValueObjects, Entities, and Identities.
- AltaSoft.DomainPrimitives -   - A C# toolkit purposefully designed to accelerate the development of domain-specific primitives within your applications. This streamlined solution empowers developers to efficiently encapsulate fundamental domain logic. Through this toolkit, you'll significantly reduce code complexity while improving the maintainability of your project.
- Minerals.AutoDomain -   This package provides a fast method of defining domain layer components with their specific implementation, such as aggregates, entities and domain events. Package has built-in strongly typed IDs.
-
Statically typed resources / configurations
- NotNot.AppSettings -   Automatically create strongly typed C# settings objects from AppSettings.json.
- EnvVariablesGenerator -   Generate code from `.env` files that can be changed after build.
- SourceConfig -   - Generates configuration POCO objects, lists, dictionaries in AOT based on *.json config files.
- StronglyTypedEmbeddedResources -   Generates strongly typed names for Embedded Resources automatically.
- TxtToListGenerator -   A source generator where if you have a text file as additional file and you have a list ordered by return carriages, then it produces either a list of int or a list of string in c#.
- dot-env-generator -   A source generator for C# that turns `.env` files into runtime constants.
-
Localization
- ResXGenerator -   Generates strongly-typed resource classes for looking up localized strings.
- kli.Localize -   - localize strings from json files via source code generation
- MrMeeseeks.ResXToViewModelGenerator -   Takes ResX files and generates localization ViewModels for a more convenient usage of localization in MVVM projects.
-
Metaprogramming
- Matryoshki -   Metaprogramming framework based on C# source generators. It allows you to define behaviours with adornments and generate decorators for arbitrary types.
- GenerateHelperLibraries -   A source generator where you can send any code to the client without having to do as a string. Helper for custom classes a client has to override in order to have additional features for source generators. Intended to be used from another source generator.
- SourceGeneratorQuery -   - C# SourceGenerator helper which helps you query your files, and adds LINQ support.
- Gobie -   - Allows developers define and use custom source generation without writing any generator code themselves or learning the Roslyn APIs. Instead, devs define the generator they want, in C#, and can then use that generator throughout their project.
-
Testing
- Rocks -   A mocking library based on the Compiler APIs (Roslyn + Mocks).
- FluentAssertions.Eventual -   - Generates a specialized waiting wrapper for `FluentAssertions` assertions, offering a syntax similar to plain `FluentAssertions`.
- GRPC-Mock-Server -   - A source generator for stubbing GRPC services.
- Buildenator -   Generate data builder classes for testing purposes (and not only) for your entities. Autofixture + Moq extensions.
- InterfaceGenerator -   - Auto generate interface definition by implementation, for when you need an abstraction for the sake of mocking.
- MockableStaticGenerator -   A C# source generator to make an interface and a class wrapper to test static/extension methods.
- MockGen -   A C# mocking library based on source generators.
- MockSourceGenerator -   A C# mocking library that generates mocks at compile-time using a source generator.
- ProxyInterfaceGenerator -   generate an interface and a Proxy class for classes. This makes it possible to wrap external classes which do not have an interface, in a Proxy class which makes it easier to Mock and use DI.
- ScenarioTests -   Test your code like you would write a notebook. Simply and effective
-
Validation
- Validly -   - A performant, zero-allocation, and highly customizable validation library that generates validation logic based on attributes, with usage similar to DataAnnotations.
- EasyValidate -   - High-performance, type-safe .NET source generator that uses attributes to automatically generate validation for properties, fields, and method parameters. Easy Validate supports async validation, integrates with dependency injection, and includes rich analyzers and code fixers for a seamless developer experience.
- EasyValidate -   - High-performance, type-safe .NET source generator that uses attributes to automatically generate validation for properties, fields, and method parameters. Easy Validate supports async validation, integrates with dependency injection, and includes rich analyzers and code fixers for a seamless developer experience.
-
-
Tips & Tricks
-
Videos
-
Other
- C# Source Generators - Write code that writes code - David Wengier - 11-13) Roslyn dev takes deep dive into the topic.
- .NET Languages and Runtime Community Standup - Source Generators - 10-08) shows how Generators work and how they can be tested.
- Channel 9 'Source Generators in C#' - 08-12) has Roslyn PMs discussing the feature.
- Channel 9 'Source Generators in C#' - 08-12) has Roslyn PMs discussing the feature.
-
-
Demo, PoC and excercise projects
-
Other
- jakubsturc/talk-csharp-source-generators -   contains 4 generators: AutoNotify, ConsoleWritelineHijack, HelloWorld and SettingsXml, plus nice presentation slides.
- RyanAlameddine/SourceGeneratorDemo -   contains 3 demos: hello world, INPC and OpCode class.
- TMC-CSharp/CodeExerciseLibrary -   Library to help creating C# exercises. Generates missing methods and classes inside tests on the fly by using Source Generators.
- DpdtInject -   DI container based on C# Source Generators. Its goal is to remove everything possible from runtime and make resolving process as faster as we can. This is achieved by transferring huge piece of resolving logic to the compilation stage into the source generator.
- Compile Time Method Execution Generator -   proof of concept that allows executing a method during compilation, so that it can be really fast during runtime.
-
-
Projects using custom Source Generators "internally"
-
Other
- RestEase -   uses Source Generator to generate interface implementations on compile time instead of in runtime via Reflection.Emit.
- NetFabric.Hyperlinq -   generates overloads for its extension methods.
- Elskom/Sdk -   Dumps git repository data to assembly level metadata attributes that can be checked at runtime for things like trapping if a user is using an possibly unstable build of the libraries built in the repository and so the user can see a message about it (and optionally opt into running the possibly unstable code).
- Heroicons.AspNetCore -   [Heroicons](https://heroicons.com/) that are easy to use in ASP.NET Core MVC as TagHelpers.
- WarHub/wham -   generates code for immutable tree object graph based on red-green node approach used in Roslyn; generates custom XmlSerializer that supports C#9 records and ImmutableArray.
- HydraScript -   TypeScript & Go inspired small interpreted programming language written in C# that uses Source Generator to build large regular expression for lexical analysis. The regex value is passed to `[GeneratedRegex]` attribute, so this internal generator generates the input for another generator.
-
Categories
Sub Categories
Other
208
Patterns
23
Functional Programming
17
Serialization
16
Dependency Injection (IoC Container)
15
Webprogramming
15
Mappers
10
Testing
10
Enums
10
Database / ORM
10
XAML / WPF / Avalonia
9
Statically typed resources / configurations
6
Metaprogramming
4
Console / CLI
4
Validation
3
Localization
3
Domain Driven Design (DDD)
3
Text templating
3
Communication
3
Graphics / Drawing
2
Keywords
csharp-sourcegenerator
101
csharp
70
dotnet
64
source-generator
25
roslyn
25
sourcegenerator
24
source-generators
21
dotnet-core
11
dependency-injection
10
dotnet-standard
8
generator
8
performance
7
source-generation
7
roslyn-generator
6
c-sharp
6
library
5
codegenerator
5
wpf
5
ddd
5
roslyn-analyzer
5
code-generation
5
mediator
4
mediator-pattern
4
inversion-of-control
4
ioc
4
csharp-library
4
mocking
4
avaloniaui
4
value-object
4
winui
4
enumeration
4
nuget
4
code-generator
4
fast
3
di
3
mapper
3
linq
3
domain-driven-design
3
optimization
3
orm
3
razor
3
mapping
3
avalonia
3
csharp9
3
functional
3
maui
3
mvvm
3
xaml
3
netstandard
3
uno-platform
3