Base:
property
Width
Microsoft.CodeAnalysis.GreenNode.Width
25 references to Width
Microsoft.CodeAnalysis.CSharp (25)
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_InterpolatedString.cs (1)
61
var textTokenDiagnostics = MoveDiagnostics(interpolatedText.GetDiagnostics(), interpolatedString.StringStartToken.
Width
);
Parser\LanguageParser.cs (14)
3047
misplacedModifier.
Width
,
3104
this.CurrentToken.
Width
,
3982
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
4049
opTokenErrorWidth = opToken.
Width
;
4056
(opTokenErrorOffset, opTokenErrorWidth) = (0, this.CurrentToken.
Width
);
4081
opTokenErrorWidth = opToken.
Width
;
4102
opTokenErrorWidth = opToken.
Width
;
4109
opTokenErrorWidth = opToken.
Width
;
4114
opTokenErrorWidth = opToken.
Width
;
4123
opTokenErrorWidth = opToken.
Width
;
6857
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
7039
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
12138
width: this.CurrentToken.
Width
,
14236
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)