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