1 write to Root
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
54Root = (TSyntaxRoot)tree.GetRoot(cancellationToken);
6 references to Root
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Indentation\CSharpIndentationService.Indenter.cs (2)
23indenter.Rules, indenter.Root, indenter.LineToBeIndented, indenter.Options, out syntaxToken); 139if (!indenter.Root.FindToken(currentLine.Start, findInsideTrivia: true).IsKind(SyntaxKind.InterpolatedStringTextToken))
Microsoft.CodeAnalysis.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (4)
116var trivia = Root.FindTrivia(lastPos.Value); 125var token = Root.FindToken(LineToBeIndented.Start); 228var token = Root.FindTokenFromEnd(LineToBeIndented.Start); 248=> Math.Min(Root.EndOfFileToken.FullSpan.Start, position);