dotnet-csharp-source-generators Guidance for both creating and consuming Roslyn source generators in .NET. Creating: , syntax providers, semantic analysis, emit patterns, diagnostic reporting, testing with . Consuming: , , System.Text.Json source generation, . Cross-references: [skill:dotnet-csharp-modern-patterns] for partial properties and related C# features, [skill:dotnet-csharp-coding-standards] for naming conventions. --- Creating Source Generators Project Setup Source generators are shipped as analyzers targeting . Always target . Generators load into the compiler process, which requir…