21 references to ERR_InExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1152case ErrorCode.ERR_InExpected:
Parser\LanguageParser.cs (1)
8745var @in = this.EatToken(SyntaxKind.InKeyword, ErrorCode.ERR_InExpected);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IForEachLoopStatement.cs (1)
1209Diagnostic(ErrorCode.ERR_InExpected, ",").WithLocation(6, 19),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Semantics\DeconstructionTests.cs (2)
6294Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28), 6355Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28),
Semantics\ForEachTests.cs (1)
1910Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(6, 16),
Semantics\OutVarTests.cs (1)
35484Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(7, 60),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (14)
Parsing\AsyncStreamsParsingTests.cs (1)
364Diagnostic(ErrorCode.ERR_InExpected, "i").WithLocation(6, 28),
Parsing\DeclarationScopeParsingTests.cs (10)
10055Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 21), 10160Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 14), 10241Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 21), 10353Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 18), 10451Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 10557Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 11032Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 24), 11086Diagnostic(ErrorCode.ERR_InExpected, "b").WithLocation(2, 28), 11144Diagnostic(ErrorCode.ERR_InExpected, "(").WithLocation(2, 21), 11356Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 17),
Parsing\ParserErrorMessageTests.cs (2)
3953ParseAndValidate(test, Diagnostic(ErrorCode.ERR_InExpected, "arr")); 3973Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 19),
Parsing\RefReadonlyTests.cs (1)
304Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(8, 21),