8 references to GetColumnFromLineOffset
Microsoft.CodeAnalysis.Workspaces (8)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\StringExtensions.cs (3)
71return lineText.GetColumnFromLineOffset(lineText.Length, tabSize); 197return line.GetColumnFromLineOffset(firstNonWhitespaceChar.Value, tabSize); 202return line.GetColumnFromLineOffset(line.Length, tabSize);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\TextLineExtensions.cs (1)
84=> line.ToString().GetColumnFromLineOffset(lineOffset, tabSize);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TreeData.Node.cs (1)
31return lineText.GetColumnFromLineOffset(lineText.Length, tabSize);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (2)
131spaceOrIndentation = indentationString.GetColumnFromLineOffset(indentationString.Length, tabSize); 221var currentIndentation = line.GetColumnFromLineOffset(nonWhitespaceCharIndex, tabSize);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (1)
926spaces: lineText.GetColumnFromLineOffset(lineText.Length, Options.TabSize),