1 override of GetExpectedTokenError
Microsoft.CodeAnalysis.CSharp (1)
Parser\DocumentationCommentParser.cs (1)
790
protected override SyntaxDiagnosticInfo
GetExpectedTokenError
(SyntaxKind expected, SyntaxKind actual, int offset, int length)
6 references to GetExpectedTokenError
Microsoft.CodeAnalysis.CSharp (6)
Parser\DocumentationCommentParser.cs (1)
795
SyntaxDiagnosticInfo rawInfo = base.
GetExpectedTokenError
(expected, actual, offset, length);
Parser\LanguageParser.cs (4)
3769
separator = WithAdditionalDiagnostics(separator,
GetExpectedTokenError
(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width));
6511
separator = WithAdditionalDiagnostics(separator,
GetExpectedTokenError
(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width));
6693
separator = WithAdditionalDiagnostics(separator,
GetExpectedTokenError
(SyntaxKind.DotToken, separator.Kind, separator.GetLeadingTriviaWidth(), separator.Width));
13691
name = WithAdditionalDiagnostics(name, this.
GetExpectedTokenError
(SyntaxKind.IdentifierToken, name.ContextualKind, name.GetLeadingTriviaWidth(), name.Width));
Parser\SyntaxParser.cs (1)
679
return this.
GetExpectedTokenError
(expected, actual, offset, width);