12 references to CurrentLexemeWidth
Microsoft.CodeAnalysis.CSharp (12)
Parser\Lexer.cs (10)
1581
var width = this.
CurrentLexemeWidth
; // exact size of input characters
1790
var width = this.
CurrentLexemeWidth
; // exact size of input characters
2150
if (this.
CurrentLexemeWidth
> 0)
2171
if (this.
CurrentLexemeWidth
> 0)
2312
Debug.Assert(this.
CurrentLexemeWidth
> 0);
2314
if (this.
CurrentLexemeWidth
== 1 && onlySpaces)
2320
var width = this.
CurrentLexemeWidth
;
2435
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2445
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2816
this.AddError(this.LexemeStartPosition, this.
CurrentLexemeWidth
, ErrorCode.ERR_OpenEndedComment);
Parser\Lexer_StringLiteral.cs (1)
63
Debug.Assert(this.
CurrentLexemeWidth
> 0);
Parser\QuickScanner.cs (1)
264
var quickWidth = lexer.
CurrentLexemeWidth
;