-
From dotnet/roslyn SummaryIncremental generators are intended to be a new API that exists alongside source generators to allow users to specify generation strategies that can be applied in a high performance way by the hosting layer. High Level Design GoalsAllow for a finer grained approach to defining a generator |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Incremental SGs don't support the sort of analysis that we do. See dotnet/roslyn#60273. When incremental SGs were introduced, they were marketed as being useful for Roslyn-scale codebase. Now they've become a bit of a fad. Do you have a performance problem with PropertyChanged.SourceGenerator which an incremental SG would solve? |
Beta Was this translation helpful? Give feedback.
-
Oh, I see that you are aware of IIncrementalGenerator. Thank you for your response! |
Beta Was this translation helpful? Give feedback.
Incremental SGs don't support the sort of analysis that we do. See dotnet/roslyn#60273.
When incremental SGs were introduced, they were marketed as being useful for Roslyn-scale codebase. Now they've become a bit of a fad. Do you have a performance problem with PropertyChanged.SourceGenerator which an incremental SG would solve?