18 references to Width
Microsoft.CodeAnalysis.CSharp (18)
Parser\DirectiveParser.cs (1)
821
if (identifier.
Width
> MAX_DIRECTIVE_IDENTIFIER_WIDTH)
Parser\DocumentationCommentParser.cs (3)
843
return WithAdditionalDiagnostics(node, new XmlSyntaxDiagnosticInfo(0, node.
Width
, code, args));
1053
int width = nonOverloadableOperator.
Width
;
1096
int width = nonOverloadableOperator.
Width
;
Parser\LanguageParser.cs (8)
2908
misplacedModifier.
Width
,
2949
this.CurrentToken.
Width
,
3750
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
3817
opTokenErrorWidth = opToken.
Width
;
3849
opTokenErrorWidth = opToken.
Width
;
6459
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
6641
separator = WithAdditionalDiagnostics(separator, GetExpectedTokenError(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.
Width
));
13626
name = WithAdditionalDiagnostics(name, this.GetExpectedTokenError(SyntaxKind.IdentifierToken, name.ContextualKind, name.GetLeadingTriviaWidth(), name.
Width
));
Parser\SyntaxParser.cs (6)
624
token = WithAdditionalDiagnostics(token, MakeError(token.GetLeadingTriviaWidth(), token.
Width
, errorCode, args));
738
width = ct.
Width
;
835
return WithAdditionalDiagnostics(node, MakeError(firstToken.GetLeadingTriviaWidth(), firstToken.
Width
, code));
841
return WithAdditionalDiagnostics(node, MakeError(firstToken.GetLeadingTriviaWidth(), firstToken.
Width
, code, args));
869
width += lastToken.
Width
;
947
if (token.
Width
> 0)