Base:
property
Width
Microsoft.CodeAnalysis.GreenNode.Width
24 references to Width
Microsoft.CodeAnalysis.CSharp (24)
Parser\DirectiveParser.cs (1)
850
if (identifier.
Width
> MAX_DIRECTIVE_IDENTIFIER_WIDTH)
Parser\DocumentationCommentParser.cs (1)
843
return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.
Width
, code, args));
Parser\LanguageParser.cs (14)
3001
misplacedModifier.
Width
,
3058
this.CurrentToken.
Width
,
3945
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
4012
opTokenErrorWidth = opToken.
Width
;
4019
(opTokenErrorOffset, opTokenErrorWidth) = (0, this.CurrentToken.
Width
);
4044
opTokenErrorWidth = opToken.
Width
;
4065
opTokenErrorWidth = opToken.
Width
;
4072
opTokenErrorWidth = opToken.
Width
;
4077
opTokenErrorWidth = opToken.
Width
;
4086
opTokenErrorWidth = opToken.
Width
;
6846
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
7028
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
12101
width: this.CurrentToken.
Width
,
14190
name = WithAdditionalDiagnostics(name, this.GetExpectedTokenError(SyntaxKind.IdentifierToken, name.ContextualKind, name.GetLeadingTriviaWidth(), name.
Width
));
Parser\SyntaxParser.cs (8)
634
return (offset: 0, token.
Width
);
641
token = WithAdditionalDiagnostics(token, MakeError(offset: 0, token.
Width
, errorCode, args));
848
return (missingNodeOrToken.Width + missingNodeOrToken.GetTrailingTriviaWidth() + token.GetLeadingTriviaWidth(), token.
Width
);
906
return WithAdditionalDiagnostics(node, MakeError(offset: 0, firstToken.
Width
, code));
912
return WithAdditionalDiagnostics(node, MakeError(offset: 0, firstToken.
Width
, code, args));
932
width = lastToken.
Width
;
1028
currentOffset = target.
Width
+ target.GetTrailingTriviaWidth();
1051
if (token.
Width
> 0)