Category "sourcegenerators"

Where does .NET 6's System.Text.Json source generation store its code?

I have tried to implement Source Generation-based JSON serilization, based on MS Docs: How to use source generation in System.Text.Json. My code is as follows:

Deploying a C# source generator project that includes references to other private projects

I want to release a source generator package, and I want to include a private project dependency on the source generator project. For example, assume that my pr

Decorating AdditionalText-derived class for "build_metadata.additionalfiles.some_property"

I'm building a source generator that catches csv files marked with the name of the generator. Having <AdditionalFiles Include="File1.csv"> <Gener

C# Incremental Source Generator caching bug?

I'm trying to wrap my head around the new Roslyn Incremental Source Generators, by making a simple generator, that lists all invoked methods in a file called In