4 references to GetSourceTreeOrThrow
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\LocationExtensions.cs (4)
20
=> location.
GetSourceTreeOrThrow
().GetRoot(cancellationToken).FindToken(location.SourceSpan.Start);
23
=> location.
GetSourceTreeOrThrow
().GetRoot(cancellationToken).FindNode(location.SourceSpan);
26
=> location.
GetSourceTreeOrThrow
().GetRoot(cancellationToken).FindNode(location.SourceSpan, getInnermostNodeForTie: getInnermostNodeForTie);
29
=> location.
GetSourceTreeOrThrow
().GetRoot(cancellationToken).FindNode(location.SourceSpan, findInsideTrivia, getInnermostNodeForTie);