I am currently writing a source generator. This source generator should not only take into account the types and syntax trees in the project it's added to, but also the projets the target project references:
- TargetProject
- SourceGenerator
- RefProjectA
- RefProjectB
How can I get the semantic model/source code of RefProjectA when the source generator is applied to TargetProject?