10 references to CurrentLexemeWidth
Microsoft.CodeAnalysis.CSharp (10)
Parser\Lexer.cs (9)
1600
var width = this.
CurrentLexemeWidth
; // exact size of input characters
1809
var width = this.
CurrentLexemeWidth
; // exact size of input characters
2169
if (this.
CurrentLexemeWidth
> 0)
2190
if (this.
CurrentLexemeWidth
> 0)
2329
if (this.
CurrentLexemeWidth
== 1 && onlySpaces)
2335
var width = this.
CurrentLexemeWidth
;
2456
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2466
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2837
this.AddError(this.LexemeStartPosition, this.
CurrentLexemeWidth
, ErrorCode.ERR_OpenEndedComment);
Parser\Lexer_StringLiteral.cs (1)
63
Debug.Assert(this.
CurrentLexemeWidth
> 0);