6 writes to _location
Microsoft.CodeAnalysis.Razor.Compiler (6)
Language\Legacy\SeekableTextReader.cs (6)
68_location = new SourceLocation(_filePath, _position, _cachedLineInfo.LineIndex, _position - _cachedLineInfo.Span.Start); 85_location = new SourceLocation(_filePath, _position, nextLineIndex, _position - nextLineSpan.Start); 100_location = new SourceLocation(_filePath, _position, prevLineIndex, _position - prevLineSpan.Start); 108_location = new SourceLocation(_filePath, _position, SourceText.Lines.GetLinePosition(_position)); 120_location = SourceLocation.Zero; 127_location = new SourceLocation(_filePath, Length, lineNumber, SourceText.Lines[lineNumber].Span.Length);
7 references to _location
Microsoft.CodeAnalysis.Razor.Compiler (7)
Language\Legacy\SeekableTextReader.cs (7)
35public SourceLocation Location => _location; 69_current = SourceText[_location.AbsoluteIndex]; 86_current = SourceText[_location.AbsoluteIndex]; 101_current = SourceText[_location.AbsoluteIndex]; 110var lineSpan = SourceText.Lines[_location.LineIndex].Span; 111_cachedLineInfo = (lineSpan, _location.LineIndex); 113_current = SourceText[_location.AbsoluteIndex];