Andrey Shchekin
Andrey Shchekin

Reputation: 21599

In Roslyn, how do I get Document information from SymbolFinder.FindCallersAsync?

What's the right way to find out which Document each caller belongs to?
I can't find any property that would help.

Upvotes: 1

Views: 631

Answers (1)

Andrey Shchekin
Andrey Shchekin

Reputation: 21599

I realized I can do solution.GetDocument() on Location.SourceTree.

Upvotes: 6

Related Questions