3 references to ERR_ExpectedContextualKeywordOn
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1085or ErrorCode.ERR_ExpectedContextualKeywordOn
Parser\LanguageParser.cs (1)
13852onKeyword: this.EatContextualToken(SyntaxKind.OnKeyword, ErrorCode.ERR_ExpectedContextualKeywordOn),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Parsing\ParserErrorMessageTests.cs (1)
1167ParseAndValidate(test, Diagnostic(ErrorCode.ERR_ExpectedContextualKeywordOn, "x"));