This .NET 6 solution is used as part of the blog post "Could .NET Source Generators Be A Danger To Your Code?" at https://stevetalkscode.co.uk/sourcegeneratorattacks.
The solution can be loaded into VS2022 to see show how to generate code artefacts that can be traced through source control to check what a source generater is adding to your code base.