This repository contains my explorations on c# source code generation and analysis.
The UnionsGenerator generator enables the use of union types in C#.
The JsonSchemaGenerator generator generates json schemata from C# class definitions.
The UtilityGenerators generator helps you write code generators and analyzers.
The CopyTo generator generates methods to copy the contents of one instance to another. I created this generator for a friend, so it is not as feature rich as it could be.
The VisitorGenerator generator generates visitor pattern implementations for various node kinds, for example for implementing syntax tree walkers.
The OptionsGenerator generator generates an opinionated implementation of the options pattern.