This is the first post in the series: Creating a source generator.
- Part 1 - Creating an incremental generator (this post)
- 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
- Part 7 - Solving the source generator 'marker attribute' problem - Part 1
- Part 8 - Solving the source generator 'marker attribute' problem - Part 2