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 (13)
2959
misplacedModifier.
Width
,
3016
this.CurrentToken.
Width
,
3903
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
3970
opTokenErrorWidth = opToken.
Width
;
3977
(opTokenErrorOffset, opTokenErrorWidth) = (0, this.CurrentToken.
Width
);
4002
opTokenErrorWidth = opToken.
Width
;
4023
opTokenErrorWidth = opToken.
Width
;
4030
opTokenErrorWidth = opToken.
Width
;
4035
opTokenErrorWidth = opToken.
Width
;
4044
opTokenErrorWidth = opToken.
Width
;
6722
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
6904
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
13995
name = WithAdditionalDiagnostics(name, this.GetExpectedTokenError(SyntaxKind.IdentifierToken, name.ContextualKind, name.GetLeadingTriviaWidth(), name.
Width
));
Parser\LanguageParser_InterpolatedString.cs (1)
61
var textTokenDiagnostics = MoveDiagnostics(interpolatedText.GetDiagnostics(), interpolatedString.StringStartToken.
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)