LANGUAGE
C# source generator
Contributes additional source to a compilation.
Formal Syntax & Structure
csharp syntaxcsharp
Build-time generated C# sourceWorking Example
Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.partial class ItemFormatter { }