25 references to ERR_InExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1221or ErrorCode.ERR_InExpected
Parser\LanguageParser.cs (1)
9709var @in = this.EatToken(SyntaxKind.InKeyword, ErrorCode.ERR_InExpected);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
Semantics\OutVarTests.cs (1)
35532Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(7, 60),
Semantics\PrimaryConstructorTests.cs (1)
511Diagnostic(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)
6288Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28), 6349Diagnostic(ErrorCode.ERR_InExpected, ")").WithLocation(6, 28), 6572Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(3, 40),
Semantics\ForEachTests.cs (1)
2427Diagnostic(ErrorCode.ERR_InExpected, ";").WithLocation(6, 16),
Semantics\NullableReferenceTypesTests.cs (1)
91336Diagnostic(ErrorCode.ERR_InExpected, "").WithLocation(1, 14),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (15)
Parsing\AsyncStreamsParsingTests.cs (1)
364Diagnostic(ErrorCode.ERR_InExpected, "i").WithLocation(6, 28),
Parsing\DeclarationParsingTests_MissingIdentifiers.cs (1)
4906Diagnostic(ErrorCode.ERR_InExpected, "").WithLocation(4, 12),
Parsing\DeclarationScopeParsingTests.cs (10)
9853Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 21), 9955Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 14), 10029Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(2, 21), 10137Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 18), 10235Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 10338Diagnostic(ErrorCode.ERR_InExpected, "ref").WithLocation(2, 18), 10809Diagnostic(ErrorCode.ERR_InExpected, "int").WithLocation(2, 24), 10863Diagnostic(ErrorCode.ERR_InExpected, "b").WithLocation(2, 28), 10921Diagnostic(ErrorCode.ERR_InExpected, "(").WithLocation(2, 21), 11133Diagnostic(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)
299Diagnostic(ErrorCode.ERR_InExpected, "readonly").WithLocation(8, 21),