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