1 write to LineIndex
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\SourceLocation.cs (1)
59LineIndex = lineIndex;
17 references to LineIndex
Microsoft.CodeAnalysis.Razor.Compiler (17)
Language\CodeGeneration\CodeRenderingContext.cs (1)
144currentLocation.LineIndex,
Language\CodeGeneration\CodeRenderingContextExtensions.cs (1)
130endLineIndex: writer.Location.LineIndex);
Language\Legacy\CSharpCodeParser.cs (3)
1228directiveStart.LineIndex, 1428original.LineIndex, 1543directiveStart.LineIndex,
Language\Legacy\SeekableTextReader.cs (2)
110var lineSpan = SourceText.Lines[_location.LineIndex].Span; 111_cachedLineInfo = (lineSpan, _location.LineIndex);
Language\Legacy\SourceLocationTracker.cs (1)
17var lineIndex = location.LineIndex;
Language\SourceLocation.cs (4)
26/// A <see cref="SourceLocation"/> with <see cref="AbsoluteIndex"/>, <see cref="LineIndex"/>, and 104LineIndex, 130LineIndex == other.LineIndex &&
Language\SourceSpan.cs (1)
22: this(location.FilePath, location.AbsoluteIndex, location.LineIndex, location.CharacterIndex, contentLength, lineCount: 1, endCharacterIndex: 0)
Language\Syntax\SyntaxNodeExtensions.cs (4)
122var lineCount = endLocation.Line - location.LineIndex; 123return new SourceSpan(location.FilePath, location.AbsoluteIndex, location.LineIndex, location.CharacterIndex, node.Width, lineCount, endLocation.Character); 130var lineCount = endLocation.Line - location.LineIndex; 131return new SourceSpan(location.FilePath, location.AbsoluteIndex, location.LineIndex, location.CharacterIndex, token.Width, lineCount, endLocation.Character);