13 references to Width
Microsoft.CodeAnalysis.CSharp (13)
Parser\Lexer.cs (9)
1605
var width = TextWindow.
Width
; // exact size of input characters
1814
var width = TextWindow.
Width
; // exact size of input characters
2174
if (this.TextWindow.
Width
> 0)
2195
if (this.TextWindow.
Width
> 0)
2334
if (TextWindow.
Width
== 1 && onlySpaces)
2340
var width = TextWindow.
Width
;
2463
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2473
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2821
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);