12 references to CurrentLexemeWidth
Microsoft.CodeAnalysis.CSharp (12)
Parser\Lexer.cs (10)
1596
var width = this.
CurrentLexemeWidth
; // exact size of input characters
1805
var width = this.
CurrentLexemeWidth
; // exact size of input characters
2165
if (this.
CurrentLexemeWidth
> 0)
2186
if (this.
CurrentLexemeWidth
> 0)
2327
Debug.Assert(this.
CurrentLexemeWidth
> 0);
2329
if (this.
CurrentLexemeWidth
== 1 && onlySpaces)
2335
var width = this.
CurrentLexemeWidth
;
2450
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2460
return this.
CurrentLexemeWidth
> 0 ? SyntaxFactory.DisabledText(this.GetNonInternedLexemeText()) : null;
2831
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
;