1 write to LineToBeIndented
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (1)
57LineToBeIndented = lineToBeIndented;
16 references to LineToBeIndented
Microsoft.CodeAnalysis.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Indentation\AbstractIndentation.Indenter.cs (16)
80_syntaxFacts.IsInInactiveRegion(this.Tree, LineToBeIndented.Start, this.CancellationToken)) 109if (LineToBeIndented.LineNumber == 0) 112var previousLine = this.Text.Lines[LineToBeIndented.LineNumber - 1]; 126var token = Root.FindToken(LineToBeIndented.Start); 131if (token.SpanStart >= LineToBeIndented.Start) 152for (var currentLine = this.LineToBeIndented.LineNumber - 1; currentLine >= 0; currentLine--) 174if (LineToBeIndented.LineNumber < updatedSourceText.Lines.Count) 176var updatedLine = updatedSourceText.Lines[LineToBeIndented.LineNumber]; 193indentationResult = new IndentationResult(basePosition: LineToBeIndented.Start, offset: offset); 204=> new(this.LineToBeIndented.Start, addedSpaces); 229var token = Root.FindTokenFromEnd(LineToBeIndented.Start); 230var indentation = Finder.GetIndentationOfCurrentPosition(this.Tree, token, LineToBeIndented.Start, CancellationToken.None); 232return new IndentationResult(LineToBeIndented.Start, indentation); 240if (LineToBeIndented.Start < position) 242return TextSpan.FromBounds(LineToBeIndented.Start, position); 245return TextSpan.FromBounds(position, LineToBeIndented.Start);