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