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