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
2170
if (this.TextWindow.
Width
> 0)
2191
if (this.TextWindow.
Width
> 0)
2330
if (TextWindow.
Width
== 1 && onlySpaces)
2336
var width = TextWindow.
Width
;
2459
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2469
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2817
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);