13 references to Width
Microsoft.CodeAnalysis.CSharp (13)
Parser\Lexer.cs (9)
1600
var width = TextWindow.
Width
; // exact size of input characters
1809
var width = TextWindow.
Width
; // exact size of input characters
2169
if (this.TextWindow.
Width
> 0)
2190
if (this.TextWindow.
Width
> 0)
2329
if (TextWindow.
Width
== 1 && onlySpaces)
2335
var width = TextWindow.
Width
;
2458
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2468
return TextWindow.
Width
> 0 ? SyntaxFactory.DisabledText(TextWindow.GetText(false)) : null;
2839
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)
424
return this.Intern(_characterWindow, _lexemeStart, this.
Width
);
429
return this.GetText(this.LexemeStartPosition, this.
Width
, intern);