24 references to ERR_InExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1214or ErrorCode.ERR_InExpected
Parser\LanguageParser.cs (1)
9444var @in = this.EatToken(SyntaxKind.InKeyword, ErrorCode.ERR_InExpected);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\OutVarTests.cs (1)
35543Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(7, 60),
Semantics\PrimaryConstructorTests.cs (1)
381Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 26),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IForEachLoopStatement.cs (1)
1209Diagnostic(ErrorCode.ERR_InExpected, ",").WithLocation(6, 19),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (5)
Semantics\DeconstructionTests.cs (3)
6291Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28), 6352Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28), 6575Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(3, 40),
Semantics\ForEachTests.cs (1)
1911Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(6, 16),
Semantics\NullableReferenceTypesTests.cs (1)
91283Diagnostic(ErrorCode.ERR_InExpected, "").WithLocation(1, 14),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (14)
Parsing\AsyncStreamsParsingTests.cs (1)
364Diagnostic(ErrorCode.ERR_InExpected, "i").WithLocation(6, 28),
Parsing\DeclarationScopeParsingTests.cs (10)
9754Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 21), 9856Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 14), 9930Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 21), 10038Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 18), 10136Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 10239Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 10710Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 24), 10764Diagnostic(ErrorCode.ERR_InExpected, "b").WithLocation(2, 28), 10822Diagnostic(ErrorCode.ERR_InExpected, "(").WithLocation(2, 21), 11034Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 17),
Parsing\ParserErrorMessageTests.cs (2)
3874ParseAndValidate(test, Diagnostic(ErrorCode.ERR_InExpected, "arr")); 3894Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 19),
Parsing\RefReadonlyTests.cs (1)
304Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(8, 21),