Source generators v2.0 — Incremental Generators
summary
Overview of recent improvements to C# source generators and the SDK tooling, focusing on the new incremental generators API. Covers what incremental generators are, how the new interface improves IDE performance, which consumer and developer problems are solved, and guidance on migrating existing generators and whether migration is necessary.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:15What are source generators
- 3:43Old generator problems
- 9:13IDE slowdown causes
- 15:15New Incremental Generators interface
- 20:28Generator dependency optimization
- 24:16Syntax handling
- 36:57Backward compatibility
- 44:44Rewriting generator demo
- 50:24Code safety and validation
- 55:22Migration recommendations
- 57:52Q&A
related talks
52mCode that writes code - .NET Source generators
33mSource Generators in Action
01h 04mLet's Code an incremental source generator with Roslyn
55mCode that writes code - .NET Source generators
33mMastering Source Generators
59mC# Source Generators - Write code that writes code
42mC# Code Generators: Writing Code That Writes Code
37mThings I learned after a decade of writing code generators
