In other words, you can provide additional source code as input to a compilation while the code is being compiled.
#Pixel sorter tutorial c# install#
To get started with Source Generators, you’ll need to install the latest. This is done via a new kind of component that we’re calling a Source Generator. We’re pleased to introduce the first preview of Source Generators, a new C# compiler feature that lets C# developers inspect user code and generate new C# source files that can be added to a compilation.