426 references to ERR_CloseParenExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1161or ErrorCode.ERR_CloseParenExpected
Parser\SyntaxParser.cs (1)
702return ErrorCode.ERR_CloseParenExpected;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (17)
CodeGen\CodeGenDeconstructTests.cs (1)
4982Diagnostic(ErrorCode.ERR_CloseParenExpected, "1").WithLocation(4, 19),
CodeGen\CodeGenExprLambdaTests.cs (5)
3454Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>").WithLocation(2, 76), 3501Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>").WithLocation(2, 76), 3557Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122), 3560Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122), 3563Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122),
CodeGen\CodeGenFunctionPointersTests.cs (1)
10546Diagnostic(ErrorCode.ERR_CloseParenExpected, ",", isSuppressed: false).WithLocation(5, 57),
CodeGen\CodeGenTupleTest.cs (2)
7334Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(13, 37), 7337Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(14, 38),
CodeGen\CodeGenUsingDeclarationTests.cs (7)
1477Diagnostic(ErrorCode.ERR_CloseParenExpected, "const").WithLocation(1, 8), 1527Diagnostic(ErrorCode.ERR_CloseParenExpected, "const").WithLocation(1, 14), 1585Diagnostic(ErrorCode.ERR_CloseParenExpected, "const").WithLocation(1, 8), 1638Diagnostic(ErrorCode.ERR_CloseParenExpected, "const").WithLocation(1, 14), 1699Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(1, 8), 1757Diagnostic(ErrorCode.ERR_CloseParenExpected, "static").WithLocation(1, 8), 1815Diagnostic(ErrorCode.ERR_CloseParenExpected, "volatile").WithLocation(1, 8),
CodeGen\CodeGenUsingStatementTests.cs (1)
2539Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (17)
Semantics\OutVarTests.cs (7)
21113(int)ErrorCode.ERR_CloseParenExpected 21211(int)ErrorCode.ERR_CloseParenExpected 21575(int)ErrorCode.ERR_CloseParenExpected, 21771(int)ErrorCode.ERR_CloseParenExpected, 22221(int)ErrorCode.ERR_CloseParenExpected 22555(int)ErrorCode.ERR_CloseParenExpected 35552Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(7, 60)
Semantics\PatternMatchingTests.cs (2)
4870Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(6, 37), 4873Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(6, 37),
Semantics\PatternMatchingTests_Scope.cs (6)
11972(int)ErrorCode.ERR_CloseParenExpected 12064(int)ErrorCode.ERR_CloseParenExpected 12405(int)ErrorCode.ERR_CloseParenExpected, 12595(int)ErrorCode.ERR_CloseParenExpected, 13030(int)ErrorCode.ERR_CloseParenExpected 13352(int)ErrorCode.ERR_CloseParenExpected
Semantics\PatternMatchingTests2.cs (1)
447Diagnostic(ErrorCode.ERR_CloseParenExpected, "!").WithLocation(25, 27),
Semantics\RecordTests.cs (1)
29246Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 22),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (16)
IOperation\IOperationTests_IDynamicMemberReferenceExpression.cs (1)
182Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(9, 45)
IOperation\IOperationTests_IForEachLoopStatement.cs (1)
1218Diagnostic(ErrorCode.ERR_CloseParenExpected, ",").WithLocation(6, 19),
IOperation\IOperationTests_IIfStatement.cs (6)
940Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 6), 1045Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(20, 14), 1117Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(12, 28), 1199Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(12, 20), 1217Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(15, 14), 1404Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(10, 30),
IOperation\IOperationTests_IIsPatternExpression.cs (2)
437Diagnostic(ErrorCode.ERR_CloseParenExpected, ",").WithLocation(8, 45), 488Diagnostic(ErrorCode.ERR_CloseParenExpected, "const").WithLocation(8, 39),
IOperation\IOperationTests_ILocalFunctionStatement.cs (1)
430Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(6, 27),
IOperation\IOperationTests_IObjectCreationExpression.cs (2)
5191Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(8, 70), 5221Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(8, 93),
IOperation\IOperationTests_ISizeOfExpression.cs (1)
183Diagnostic(ErrorCode.ERR_CloseParenExpected, "(").WithLocation(8, 32),
IOperation\IOperationTests_ITypeOfExpression.cs (1)
145Diagnostic(ErrorCode.ERR_CloseParenExpected, "(").WithLocation(8, 32),
IOperation\IOperationTests_IUsingStatement.cs (1)
977Diagnostic(ErrorCode.ERR_CloseParenExpected, ",").WithLocation(14, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (40)
Semantics\BindingTests.cs (3)
717Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 2146Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 2914Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 40),
Semantics\DeconstructionTests.cs (2)
3162Diagnostic(ErrorCode.ERR_CloseParenExpected, "=").WithLocation(13, 20), 6584Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 40)
Semantics\ForEachTests.cs (1)
1920Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(6, 16),
Semantics\ImplicitObjectCreationTests.cs (2)
2814Diagnostic(ErrorCode.ERR_CloseParenExpected, "new").WithLocation(6, 20), 2852Diagnostic(ErrorCode.ERR_CloseParenExpected, "new").WithLocation(6, 20),
Semantics\InterpolationTests.cs (4)
140Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 6), 167Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 6), 197Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 2), 370Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 6),
Semantics\LambdaTests.cs (3)
1024Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 1078Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 3819Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(6, 16),
Semantics\LockTests.cs (4)
318Diagnostic(ErrorCode.ERR_CloseParenExpected, "d"), 385Diagnostic(ErrorCode.ERR_CloseParenExpected, "return").WithLocation(9, 26), 388Diagnostic(ErrorCode.ERR_CloseParenExpected, "return").WithLocation(9, 26), 452Diagnostic(ErrorCode.ERR_CloseParenExpected, "object").WithLocation(6, 26),
Semantics\NullableReferenceTypesTests.cs (4)
2747Diagnostic(ErrorCode.ERR_CloseParenExpected, "!").WithLocation(7, 19), 91292Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 14), 132072Diagnostic(ErrorCode.ERR_CloseParenExpected, "=").WithLocation(16, 26), 142267Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 25),
Semantics\OverloadResolutionPerfTests.cs (1)
975Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(7, 28),
Semantics\RawInterpolationTests.cs (4)
136Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 6), 163Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 6), 193Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 2), 421Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 6),
Semantics\ReadOnlyStructsTests.cs (1)
2136Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(6, 12),
Semantics\RefFieldTests.cs (1)
11764Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 26)
Semantics\SemanticErrorTests.cs (1)
16569Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(11, 34),
Semantics\SimpleLambdaParametersWithModifiersTests.cs (2)
1245Diagnostic(ErrorCode.ERR_CloseParenExpected, "public").WithLocation(7, 16), 1288Diagnostic(ErrorCode.ERR_CloseParenExpected, "public").WithLocation(7, 20),
Semantics\TopLevelStatementsTests.cs (3)
645Diagnostic(ErrorCode.ERR_CloseParenExpected, @"""Hi!""").WithLocation(4, 30), 673Diagnostic(ErrorCode.ERR_CloseParenExpected, @"""Hi!""").WithLocation(4, 30), 9618Diagnostic(ErrorCode.ERR_CloseParenExpected, "42").WithLocation(3, 22),
Semantics\UnsafeTests.cs (4)
9610Diagnostic(ErrorCode.ERR_CloseParenExpected, "q"), 10518Diagnostic(ErrorCode.ERR_CloseParenExpected, "this"), 10530Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>"), 10566Diagnostic(ErrorCode.ERR_CloseParenExpected, "null"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CompilationAPITests.cs (2)
657Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61), 734Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61),
Symbols\SymbolErrorTests.cs (3)
1145Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(5, 18), 1199Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(5, 18), 15791Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (329)
IncrementalParsing\IncrementalParsingTests.cs (1)
645Diagnostic(ErrorCode.ERR_CloseParenExpected, "true").WithLocation(13, 13),
LexicalAndXml\PreprocessorTests.cs (2)
1537VerifyErrorCode(node, (int)ErrorCode.ERR_CloseParenExpected); 1553VerifyErrorCode(node, (int)ErrorCode.ERR_CloseParenExpected);
Parsing\AnonymousFunctionParsingTests.cs (2)
2288Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 25), 2368Diagnostic(ErrorCode.ERR_CloseParenExpected, "static").WithLocation(5, 11),
Parsing\AsyncParsingTests.cs (7)
840Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 20), 1629Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 28), 1686Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 36), 1740Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 28), 1797Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 36), 1852Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(5, 1), 1909Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(5, 1),
Parsing\AsyncStreamsParsingTests.cs (2)
361Diagnostic(ErrorCode.ERR_CloseParenExpected, "i").WithLocation(6, 28), 370Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(6, 30),
Parsing\CollectionExpressionParsingTests.cs (13)
7200Diagnostic(ErrorCode.ERR_CloseParenExpected, "D").WithLocation(1, 19)); 7249Diagnostic(ErrorCode.ERR_CloseParenExpected, "D").WithLocation(1, 20)); 13475Diagnostic(ErrorCode.ERR_CloseParenExpected, "f").WithLocation(1, 21), 13661Diagnostic(ErrorCode.ERR_CloseParenExpected, "g").WithLocation(1, 23), 13870Diagnostic(ErrorCode.ERR_CloseParenExpected, "g").WithLocation(1, 25), 17140Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 35), 17161Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 35), 17373Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 40), 17394Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 40), 17622Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 36), 17643Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 36), 17865Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 41), 17886Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(6, 41),
Parsing\DeclarationParsingTests.cs (15)
9890Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 2) 9921Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 8) 9966Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 9) 10015Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 2) 10058Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 7) 10115Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 8) 10175Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 2) 10229Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 5) 10297Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 6) 10805Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 8) 10847Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 9) 10899Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 10) 10956Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 9) 11011Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 10) 11076Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 11)
Parsing\DeclarationScopeParsingTests.cs (43)
1012Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(1, 13) 1046Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(1, 2) 1076Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(1, 2) 1145Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(1, 9) 3397Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 19) 3453Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 28) 3644Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 13), 3720Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 13), 3871Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 6), 3955Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 13), 4103Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 10), 4247Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 10), 4396Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 10), 5198Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(2, 9), 5271Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(2, 9), 5796Diagnostic(ErrorCode.ERR_CloseParenExpected, "var").WithLocation(2, 16), 6234Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 11), 6321Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 18), 6727Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 19), 9763Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 25), 9865Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 14), 9939Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 21), 10047Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 22), 10148Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 26), 10251Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 22), 10716Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 28), 10767Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(2, 30), 10825Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(2, 28), 11046Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 39), 11305Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 24)); 11420Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 28) 12278Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 19), 12334Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 21), 12454Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 12), 12521Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 19), 12627Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 16), 12729Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 16), 12836Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 16), 13425Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 22), 13484Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 26), 14709Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(3, 17), 14786Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(3, 15), 14872Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(3, 15),
Parsing\ExpressionParsingTests.cs (6)
1554Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 2), 1604Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 2), 1768Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 2), 6569Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 34) 6636Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 49), 6639Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 49),
Parsing\ExtensionsParsingTests.cs (6)
1235Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(3, 28)); 1361Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(3, 22)); 3621Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 17)); 3689Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 15)); 4178Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(3, 17), 4813Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 22),
Parsing\ForStatementParsingTest.cs (2)
3720Diagnostic(ErrorCode.ERR_CloseParenExpected, "select").WithLocation(1, 18)); 4367Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(1, 13));
Parsing\LambdaAttributeParsingTests.cs (2)
4283Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(7, 20), 4417Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(7, 20),
Parsing\LambdaParameterParsingTests.cs (23)
38Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 146Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 265Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 391Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 517Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 651Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(1, 13) 1041Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 29), 1100Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 34), 1175Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 34), 2143Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 40), 2953Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 2977Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 18), 3027Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 3048Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 20), 3099Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 3126Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 21), 3324Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 4141Diagnostic(ErrorCode.ERR_CloseParenExpected, "l1").WithLocation(1, 17)); 4544Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 38), 4603Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 48), 4947Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 38), 5006Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 48), 5829Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9),
Parsing\LambdaReturnTypeParsingTests.cs (3)
3678Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 5)); 3767Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9)); 3947Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11));
Parsing\LineSpanDirectiveParsingTests.cs (5)
504Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12)); 726Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 21)); 975Diagnostic(ErrorCode.ERR_CloseParenExpected, "-").WithLocation(1, 13)); 1197Diagnostic(ErrorCode.ERR_CloseParenExpected, @"""file.cs""").WithLocation(1, 22)); 1530Diagnostic(ErrorCode.ERR_CloseParenExpected, "f").WithLocation(1, 12));
Parsing\LocalFunctionParsingTests.cs (5)
71Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(10, 15), 86Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(14, 16), 92Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(18, 17), 98Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(22, 15), 104Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(26, 16),
Parsing\MemberDeclarationParsingTests.cs (18)
502Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31) 585Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31) 8304Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 30) 8362Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 35) 12639Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 26) 12724Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 26) 12809Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 27) 12894Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 27) 12979Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 28) 13064Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 29) 13149Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 27) 13234Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 28) 13319Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 27) 13413Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 25 + op.Length - 1) 16454Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 95)); 16588Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 96)); 18764Diagnostic(ErrorCode.ERR_CloseParenExpected, "Values").WithLocation(1, 47), 18837Diagnostic(ErrorCode.ERR_CloseParenExpected, "Values").WithLocation(1, 47),
Parsing\ParserErrorMessageTests.cs (6)
647Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(2, 20), 2570ParseAndValidate(test, Diagnostic(ErrorCode.ERR_CloseParenExpected, "")); 3067Diagnostic(ErrorCode.ERR_CloseParenExpected, "this").WithLocation(6, 16), 3163Diagnostic(ErrorCode.ERR_CloseParenExpected, "res2"), 4091Diagnostic(ErrorCode.ERR_CloseParenExpected, "throw"), 4368Diagnostic(ErrorCode.ERR_CloseParenExpected, "3").WithLocation(12, 18),
Parsing\ParsingErrorRecoveryTests.cs (75)
370Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 386Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 453Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 469Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 486Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 502Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 672Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 687Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 703Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 720Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 738Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 754Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1702Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1721Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1739Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1759Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 1866Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1886Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1905Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1926Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 1962Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1979Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1996Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2011Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2352Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 2369Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2385Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2400Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2416Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2431Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2462Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2481Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 2499Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2516Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2532Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2549Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2565Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2598Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 3498Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3521Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3545Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3563Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3588Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3613Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3639Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3663Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3687Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3712Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 4059Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4081Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, diags[0].Code); 4086Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31), 4232Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4255Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4299Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4323Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 4348Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 4397Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[4].Code); 4423Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[4].Code); 4469Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 4492Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 4518Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 4541Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 4563Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 6192Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 6221Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 6250(int)ErrorCode.ERR_CloseParenExpected 6268Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 34)); 6299Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1), 6331Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 6364(int)ErrorCode.ERR_CloseParenExpected, 6383Diagnostic(ErrorCode.ERR_CloseParenExpected, "while").WithLocation(1, 34), 8128Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 8178Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 10), 8228Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11), 8279Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 2),
Parsing\PartialEventsAndConstructorsParsingTests.cs (2)
695Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 11), 1119Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 11),
Parsing\PatternParsingTests.cs (8)
2166Diagnostic(ErrorCode.ERR_CloseParenExpected, ":").WithLocation(1, 41)); 2171Diagnostic(ErrorCode.ERR_CloseParenExpected, ":").WithLocation(1, 20)); 2225Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(1, 42), 2236Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 20), 2737Diagnostic(ErrorCode.ERR_CloseParenExpected, ":").WithLocation(1, 43), 2747Diagnostic(ErrorCode.ERR_CloseParenExpected, ":").WithLocation(1, 22) 11860Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(1, 32), 11968Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(1, 16),
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (13)
505Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(5, 10), 533Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(5, 10), 800Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 11), 818Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 8), 836Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 9), 876Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 8), 894Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 9), 934Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 8), 952Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 9), 992Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 9), 1010Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 10), 1028Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 10), 1046Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 11),
Parsing\RecordParsing.cs (1)
4177Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 6)
Parsing\RefReadonlyTests.cs (2)
313Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(8, 21), 354Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(10, 15),
Parsing\ScriptParsingTests.cs (54)
3359Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 10), 3402Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 3453Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 18), 3522Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 16), 3580Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 21), 3655Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 14), 3699Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 3760Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 3804Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 16), 3852Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 16), 3900Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 19), 3948Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 18), 4013Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 4153Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 15), 4197Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 18), 4242Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 4285Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 16), 4332Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 4383Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 5069Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 5138Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 7), 5190Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 5250Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 8), 5312Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 5382Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 5458Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 5536Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11), 5617Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 5712Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 17), 6015Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11), 6538Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 6598Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 6667Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 14), 6742Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 16), 6811Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11), 6873Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 6943Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 7013Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 7083Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 7150Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 7153Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 12), 7223Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 7293Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 10), 7367Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 11), 7450Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 14), 7654Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 13), 7728Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 8), 8200Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 11), 8276Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 13), 8567Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 8), 8607Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 8), 8654Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 8), 8703Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9), 8752Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 14),
Parsing\StatementParsingTests.cs (6)
3535CSharpTestBase.Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(9, 10), 3606Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 1), 3660Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 3), 3678Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 11), 3764Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 23), 3847Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 8),
Parsing\TopLevelStatementsParsingTests.cs (5)
254Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 12), 983Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(2, 20), 1003Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(2, 20), 1332Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61), 1677Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61),
Parsing\UsingDirectiveParsingTests.cs (1)
246Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(1, 13),
Syntax\SyntaxNodeTests.cs (1)
498TestBase.Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9),