Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
C#
/
Source generators
Generator A emits a type that generator B wants to inspect. What is safe for ordinary sou…
from Source generators
C# 14 / .NET 10
advanced
1 min
Generator A emits a type that generator B wants to inspect. What is safe for ordinary source-generator output?
Give both generators a shared declared input or combine the phases in one supported pipeline.
Name generator A first in the project file.
Add a delay before generator B reads the compilation.
Use `Collect()` so generator B waits for generator A.
Check
Ask AI about this kata
Report an error
next kata
Which pipeline model gives Roslyn the clearest stable value boundary?
Quiz
A new version is available
Reload