C# Code Generators
Fachbücher zum Thema C# Code Generators"C# code generators are a component you can write that is similar to a roslyn analyzer or code fix. The difference is that code generators analyze code and write new source code files as part of the compilation process. A typical code generator searches code for attributes or other conventions.
A code generator read attributes or other code elements using the Roslyn analysis APIs. From that information, it adds new code to the compilation. Source generators can only add code; they aren't allowed to modify any existing code in the compilation."
[docs.microsoft.com/de-de/dotnet/csharp/whats-new/csharp-9#init-only-setters]
Aktualisiert: 04.10.2020