This is the sixth post in the series: Creating a source generator.
- Part 1 - Creating an incremental generator
- Part 2 - Testing an incremental generator with snapshot testing
- Part 3 - Integration testing and NuGet packaging
- Part 4 - Customising generated code with marker attributes
- Part 5 - Finding a type declaration's namespace and type hierarchy
- Part 6 - Saving source generator output in source control (this post)
- Part 7 - Solving the source generator 'marker attribute' problem - Part 1
- Part 8 - Solving the source generator 'marker attribute' problem - Part 2