Base:
property
Width
Microsoft.CodeAnalysis.GreenNode.Width
23 references to Width
Microsoft.CodeAnalysis.CSharp (23)
Parser\DirectiveParser.cs (1)
849
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 (13)
2972
misplacedModifier.
Width
,
3017
this.CurrentToken.
Width
,
3830
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
3897
opTokenErrorWidth = opToken.
Width
;
3904
(opTokenErrorOffset, opTokenErrorWidth) = (0, this.CurrentToken.
Width
);
3929
opTokenErrorWidth = opToken.
Width
;
3950
opTokenErrorWidth = opToken.
Width
;
3957
opTokenErrorWidth = opToken.
Width
;
3962
opTokenErrorWidth = opToken.
Width
;
3971
opTokenErrorWidth = opToken.
Width
;
6623
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
6805
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
13868
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)