Base:
property
Width
Microsoft.CodeAnalysis.GreenNode.Width
23 references to Width
Microsoft.CodeAnalysis.CSharp (23)
Parser\DirectiveParser.cs (1)
849if (identifier.Width > MAX_DIRECTIVE_IDENTIFIER_WIDTH)
Parser\DocumentationCommentParser.cs (1)
843return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.Width, code, args));
Parser\LanguageParser.cs (13)
2972misplacedModifier.Width, 3017this.CurrentToken.Width, 3830separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width)); 3897opTokenErrorWidth = opToken.Width; 3904(opTokenErrorOffset, opTokenErrorWidth) = (0, this.CurrentToken.Width); 3929opTokenErrorWidth = opToken.Width; 3950opTokenErrorWidth = opToken.Width; 3957opTokenErrorWidth = opToken.Width; 3962opTokenErrorWidth = opToken.Width; 3971opTokenErrorWidth = opToken.Width; 6623separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width)); 6805separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width)); 13868name = WithAdditionalDiagnostics(name, this.GetExpectedTokenError(SyntaxKind.IdentifierToken, name.ContextualKind, name.GetLeadingTriviaWidth(), name.Width));
Parser\SyntaxParser.cs (8)
634return (offset: 0, token.Width); 641token = WithAdditionalDiagnostics(token, MakeError(offset: 0, token.Width, errorCode, args)); 848return (missingNodeOrToken.Width + missingNodeOrToken.GetTrailingTriviaWidth() + token.GetLeadingTriviaWidth(), token.Width); 906return WithAdditionalDiagnostics(node, MakeError(offset: 0, firstToken.Width, code)); 912return WithAdditionalDiagnostics(node, MakeError(offset: 0, firstToken.Width, code, args)); 932width = lastToken.Width; 1028currentOffset = target.Width + target.GetTrailingTriviaWidth(); 1051if (token.Width > 0)