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