1 write to LexemeStartPosition
Microsoft.CodeAnalysis.CSharp (1)
Parser\AbstractLexer.cs (1)
34LexemeStartPosition = this.TextWindow.Position;
12 references to LexemeStartPosition
Microsoft.CodeAnalysis.CSharp (12)
Parser\AbstractLexer.cs (5)
137return position >= LexemeStartPosition ? position - LexemeStartPosition : position; 141=> TextWindow.GetText(LexemeStartPosition, intern: false); 144=> TextWindow.GetText(LexemeStartPosition, intern: true); 147=> this.TextWindow.Position - LexemeStartPosition;
Parser\Lexer.cs (4)
470atDotPosition == this.LexemeStartPosition) 2341this.LexemeStartPosition, 2831this.AddError(this.LexemeStartPosition, this.CurrentLexemeWidth, ErrorCode.ERR_OpenEndedComment); 4856return new SyntaxDiagnosticInfo(start - this.LexemeStartPosition,
Parser\Lexer_RawStringLiteral.cs (2)
90var afterStartDelimiter = this.LexemeStartPosition + startingQuoteCount; 172var afterStartDelimiter = this.LexemeStartPosition + startingQuoteCount;
Parser\QuickScanner.cs (1)
266lexer.TextWindow.Reset(lexer.LexemeStartPosition);