I'm having trouble understanding the Roslyn documentation and fiting it with what I see when working on an Incremental Source Generator.
https://docs.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/compiler-api-model
It has a really informative picture.
As i understand it the Syntax Tree is the result of Parser's work (is that correct?). I have access to the syntax tree through IncrementalGeneratorInitializationContext.SyntaxProvider. What trips me up is that the GeneratorSyntaxContext has a property called SemanticModel which seems to allow access to the symbols. I thought symbols were the product of a compilation which should not be available when dealing with syntax.
This leads me to another question. Which part of the Compiler Pipeline corresponds to the compilation? Is it the Binder?
