Source Generators in C#
Channel: Microsoft Visual Studio
Date: 2020-08-13

Source Generators are a new C# feature currently in preview that runs during compilation and can inspect your program to produce additional files that are compiled together with the rest of your code. Roslyn PMs Chris Sienkiewicz and Phillip Carter show how this works and how you can benefit from it in Visual Studio. 

For more information on this, check out the Visual Studio blog post at https://devblogs.microsoft.com/dotnet/introducing-c-source-generators/