Source Generators in C#

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 here