10 references to LexemeStartPosition
Microsoft.CodeAnalysis.CSharp (10)
Parser\AbstractLexer.cs (2)
134
return position >= TextWindow.
LexemeStartPosition
? position - TextWindow.
LexemeStartPosition
: position;
Parser\Lexer.cs (3)
466
atDotPosition == this.TextWindow.
LexemeStartPosition
)
2817
this.AddError(TextWindow.
LexemeStartPosition
, TextWindow.Width, ErrorCode.ERR_OpenEndedComment);
4842
return new SyntaxDiagnosticInfo(start - TextWindow.
LexemeStartPosition
,
Parser\Lexer_RawStringLiteral.cs (2)
90
var afterStartDelimiter = TextWindow.
LexemeStartPosition
+ startingQuoteCount;
172
var afterStartDelimiter = TextWindow.
LexemeStartPosition
+ startingQuoteCount;
Parser\QuickScanner.cs (2)
248
TextWindow.Reset(TextWindow.
LexemeStartPosition
);
258
lexer.TextWindow.Reset(lexer.TextWindow.
LexemeStartPosition
);
Parser\SlidingTextWindow.cs (1)
414
return this.GetText(this.
LexemeStartPosition
, this.Width, intern);