3 references to GetCompilationUnitRoot
Microsoft.CodeAnalysis.CSharp (2)
Syntax\CSharpSyntaxTree.cs (2)
137
return Options.Kind == SourceCodeKind.Script &&
GetCompilationUnitRoot
().HasReferenceDirectives;
149
var compilationUnitRoot =
GetCompilationUnitRoot
();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
DeclarationTests.cs (1)
918
var token = _countedSyntaxTree.
GetCompilationUnitRoot
(cancellationToken).FindToken(nodeInUnderlying.SpanStart);