13 references to Width
Microsoft.CodeAnalysis.CSharp (13)
Parser\Lexer.cs (9)
1601
var width = TextWindow.
Width
; // exact size of input characters
1810
var width = TextWindow.
Width
; // exact size of input characters
2144
if (this.TextWindow.
Width
> 0)
2165
if (this.TextWindow.
Width
> 0)
2304
if (TextWindow.
Width
== 1 && onlySpaces)
2310
var width = TextWindow.
Width
;
2426
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2436
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2784
this.AddError(TextWindow.LexemeStartPosition, TextWindow.
Width
, ErrorCode.ERR_OpenEndedComment);
Parser\Lexer_StringLiteral.cs (1)
63
Debug.Assert(TextWindow.
Width
> 0);
Parser\QuickScanner.cs (1)
256
var quickWidth = lexer.TextWindow.
Width
;
Parser\SlidingTextWindow.cs (2)
409
return this.Intern(_characterWindow, _lexemeStart, this.
Width
);
414
return this.GetText(this.LexemeStartPosition, this.
Width
, intern);