C# Source Generators

Topic | v1 | created by jjones |

A Source Generator is a piece of code that runs during compilation and can inspect your program to produce additional files that are compiled together with the rest of your code.


a subtopic of C#

C# (pronounced see sharp, like the musical note C♯, but written with the number sign) is a general-pu...

Edit topic New topic


No beginner resources matching your criteria have been registered, yet.

No intermediate resources matching your criteria have been registered, yet.

official Introducing C# Source Generators

9.0 rating 8.0 level 10.0 clarity 7.0 background – 1 rating

We’re pleased to introduce the first preview of Source Generators, a new C# compiler feature that let...

is assesed in The pain points of C# source generators

I've recently completed my first foray into writing a C# source generator for Schema.NET. There is a...

official New C# Source Generator Samples

This post describes two new generators that we added to the samples project in the Roslyn SDK github...