372 references to ERR_CloseParenExpected
Microsoft.CodeAnalysis.CSharp (2)
Errors\ErrorFacts.cs (1)
1099case ErrorCode.ERR_CloseParenExpected:
Parser\SyntaxParser.cs (1)
666return ErrorCode.ERR_CloseParenExpected;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (10)
CodeGen\CodeGenDeconstructTests.cs (1)
4982Diagnostic(ErrorCode.ERR_CloseParenExpected, "1").WithLocation(4, 19),
CodeGen\CodeGenExprLambdaTests.cs (5)
3726Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>").WithLocation(2, 76), 3773Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>").WithLocation(2, 76), 3829Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122), 3832Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122), 3835Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(8, 122),
CodeGen\CodeGenFunctionPointersTests.cs (1)
10499Diagnostic(ErrorCode.ERR_CloseParenExpected, ",", isSuppressed: false).WithLocation(5, 57),
CodeGen\CodeGenTupleTest.cs (2)
7337Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(13, 37), 7340Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(14, 38),
CodeGen\CodeGenUsingStatementTests.cs (1)
2538Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (8)
Semantics\PatternMatchingTests.cs (2)
4868Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(6, 37), 4871Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(6, 37),
Semantics\PatternMatchingTests_Scope.cs (5)
11972(int)ErrorCode.ERR_CloseParenExpected 12064(int)ErrorCode.ERR_CloseParenExpected 12560(int)ErrorCode.ERR_CloseParenExpected 12981(int)ErrorCode.ERR_CloseParenExpected 13303(int)ErrorCode.ERR_CloseParenExpected
Semantics\PatternMatchingTests2.cs (1)
451Diagnostic(ErrorCode.ERR_CloseParenExpected, "!").WithLocation(25, 27),
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)
5189Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(8, 70), 5216Diagnostic(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)
653Diagnostic(ErrorCode.ERR_CloseParenExpected, ",").WithLocation(14, 18),
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (46)
Semantics\BindingTests.cs (3)
684Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 2113Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 2881Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 40),
Semantics\DeconstructionTests.cs (1)
3162Diagnostic(ErrorCode.ERR_CloseParenExpected, "=").WithLocation(13, 20),
Semantics\ForEachTests.cs (1)
1919Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(6, 16),
Semantics\ForLoopErrorTests.cs (2)
34Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"), 99Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"),
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 (2)
1021Diagnostic(ErrorCode.ERR_CloseParenExpected, ""), 1075Diagnostic(ErrorCode.ERR_CloseParenExpected, ""),
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"),
Semantics\NullableReferenceTypesTests.cs (3)
2736Diagnostic(ErrorCode.ERR_CloseParenExpected, "!").WithLocation(7, 19), 128302Diagnostic(ErrorCode.ERR_CloseParenExpected, "=").WithLocation(16, 26), 137938Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 25),
Semantics\OutVarTests.cs (6)
21099(int)ErrorCode.ERR_CloseParenExpected 21197(int)ErrorCode.ERR_CloseParenExpected 21723(int)ErrorCode.ERR_CloseParenExpected 22162(int)ErrorCode.ERR_CloseParenExpected 22496(int)ErrorCode.ERR_CloseParenExpected 35493Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(7, 60)
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\RecordTests.cs (1)
29120Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(2, 22),
Semantics\RefFieldTests.cs (4)
10823Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(6, 26), 10844Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(7, 30), 10865Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(8, 26), 11248Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 26)
Semantics\SemanticErrorTests.cs (1)
16454Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(11, 34),
Semantics\TopLevelStatementsTests.cs (3)
644Diagnostic(ErrorCode.ERR_CloseParenExpected, @"""Hi!""").WithLocation(4, 30), 672Diagnostic(ErrorCode.ERR_CloseParenExpected, @"""Hi!""").WithLocation(4, 30), 9605Diagnostic(ErrorCode.ERR_CloseParenExpected, "42").WithLocation(3, 22),
Semantics\UnsafeTests.cs (4)
6772Diagnostic(ErrorCode.ERR_CloseParenExpected, "q"), 7673Diagnostic(ErrorCode.ERR_CloseParenExpected, "this"), 7685Diagnostic(ErrorCode.ERR_CloseParenExpected, "=>"), 7721Diagnostic(ErrorCode.ERR_CloseParenExpected, "null"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (5)
Compilation\CompilationAPITests.cs (2)
659Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61), 736Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 61),
Symbols\SymbolErrorTests.cs (3)
1144Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(5, 18), 1198Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(5, 18), 15646Diagnostic(ErrorCode.ERR_CloseParenExpected, ";"),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (285)
LexicalAndXml\PreprocessorTests.cs (2)
1537VerifyErrorCode(node, (int)ErrorCode.ERR_CloseParenExpected); 1553VerifyErrorCode(node, (int)ErrorCode.ERR_CloseParenExpected);
Parsing\AnonymousFunctionParsingTests.cs (2)
2300Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 25), 2380Diagnostic(ErrorCode.ERR_CloseParenExpected, "static").WithLocation(5, 11),
Parsing\AsyncParsingTests.cs (7)
840Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 20), 1638Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 28), 1701Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 36), 1755Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 28), 1818Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(4, 36), 1872Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(5, 1), 1929Diagnostic(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\DeclarationParsingTests.cs (15)
9985Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 2) 10016Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 8) 10061Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 9) 10110Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 2) 10153Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 7) 10210Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 8) 10270Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 2) 10324Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 5) 10392Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(3, 6) 10900Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 8) 10942Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 9) 10994Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 10) 11051Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 9) 11106Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 10) 11171Diagnostic(ErrorCode.ERR_CloseParenExpected, "where").WithLocation(3, 11)
Parsing\DeclarationScopeParsingTests.cs (44)
1031Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(1, 13) 1065Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(1, 2) 1095Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(1, 2) 1164Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(1, 9) 1192Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(1, 13) 3404Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 19) 3460Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(2, 28) 3651Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 13), 3756Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 13), 3936Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 6), 4049Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 13), 4226Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 10), 4399Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 10), 4577Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 10), 5408Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(2, 9), 5510Diagnostic(ErrorCode.ERR_CloseParenExpected, "scoped").WithLocation(2, 9), 6064Diagnostic(ErrorCode.ERR_CloseParenExpected, "var").WithLocation(2, 16), 6502Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 11), 6600Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 18), 7017Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 19), 10064Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 25), 10169Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 14), 10250Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 21), 10362Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 22), 10463Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 26), 10569Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 22), 11038Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 28), 11089Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(2, 30), 11147Diagnostic(ErrorCode.ERR_CloseParenExpected, "in").WithLocation(2, 28), 11368Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(2, 39), 11627Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 24)); 11742Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 28) 12600Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 19), 12667Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 21), 12787Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 12), 12865Diagnostic(ErrorCode.ERR_CloseParenExpected, "readonly").WithLocation(2, 19), 12982Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 16), 13095Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 16), 13213Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(2, 16), 13813Diagnostic(ErrorCode.ERR_CloseParenExpected, "int").WithLocation(2, 22), 13883Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(2, 26), 15108Diagnostic(ErrorCode.ERR_CloseParenExpected, "a").WithLocation(3, 17), 15185Diagnostic(ErrorCode.ERR_CloseParenExpected, "ref").WithLocation(3, 15), 15272Diagnostic(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), 6538Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 34) 6605Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 49), 6608Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(7, 49),
Parsing\LambdaParameterParsingTests.cs (16)
43Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 151Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 270Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 396Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 522Diagnostic(ErrorCode.ERR_CloseParenExpected, "out").WithLocation(4, 38), 656Diagnostic(ErrorCode.ERR_CloseParenExpected, "b").WithLocation(1, 13) 2060Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 40), 2870Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 2894Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 18), 2944Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 2965Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 20), 3016Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 3043Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 21), 3241Diagnostic(ErrorCode.ERR_CloseParenExpected, "x").WithLocation(1, 6)); 4058Diagnostic(ErrorCode.ERR_CloseParenExpected, "l1").WithLocation(1, 17)); 5733Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9),
Parsing\LambdaReturnTypeParsingTests.cs (3)
3605Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 5)); 3694Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 9)); 3874Diagnostic(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 (5)
502Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31) 585Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31) 668Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31) 8342Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 30) 8400Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 35)
Parsing\ParserErrorMessageTests.cs (12)
647Diagnostic(ErrorCode.ERR_CloseParenExpected, "{").WithLocation(2, 20), 2570ParseAndValidate(test, Diagnostic(ErrorCode.ERR_CloseParenExpected, "")); 2882Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(6, 17), 2946Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(6, 17), 2984Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(6, 17), 3146Diagnostic(ErrorCode.ERR_CloseParenExpected, "this").WithLocation(6, 16), 3242Diagnostic(ErrorCode.ERR_CloseParenExpected, "res2"), 4170Diagnostic(ErrorCode.ERR_CloseParenExpected, "throw"), 4447Diagnostic(ErrorCode.ERR_CloseParenExpected, "3").WithLocation(12, 18), 4696Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 59), 4758Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 59), 4790Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(3, 59),
Parsing\ParsingErrorRecoveryTests.cs (71)
208Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 224Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 291Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 307Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 324Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 340Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 510Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 525Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 541Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 558Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 576Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 592Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1540Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1559Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1577Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1597Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 1704Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1724Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 1743Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1764Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 1800Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1817Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1834Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 1849Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2190Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 2207Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2223Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2238Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2254Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2269Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2300Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2319Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[3].Code); 2337Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 2354Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2370Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2387Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 2403Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 2436Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 3336Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3359Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3383Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3401Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3426Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3451Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3477Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3501Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3525Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3550Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 3897Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 3919Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, diags[0].Code); 3924Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31), 4070Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4093Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4137Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[0].Code); 4161Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 4186Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 4235Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[4].Code); 4261Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[4].Code); 4307Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 4330Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[2].Code); 4356Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 4379Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 4401Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 5388Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1) 5417Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 5446(int)ErrorCode.ERR_CloseParenExpected 5464Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 34)); 5495Diagnostic(ErrorCode.ERR_CloseParenExpected).WithLocation(1, 1), 5527Assert.Equal((int)ErrorCode.ERR_CloseParenExpected, file.Errors()[1].Code); 5560(int)ErrorCode.ERR_CloseParenExpected, 5579Diagnostic(ErrorCode.ERR_CloseParenExpected, "while").WithLocation(1, 34),
Parsing\PatternParsingTests.cs (8)
2169Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 43), 2180Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 22), 2237Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(1, 42), 2248Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(1, 20), 2752Diagnostic(ErrorCode.ERR_CloseParenExpected, "=").WithLocation(1, 49), 2777Diagnostic(ErrorCode.ERR_CloseParenExpected, ";").WithLocation(1, 31), 11899Diagnostic(ErrorCode.ERR_CloseParenExpected, "}").WithLocation(1, 32), 12007Diagnostic(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)
4027Diagnostic(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)
3532CSharpTestBase.Diagnostic(ErrorCode.ERR_CloseParenExpected, "").WithLocation(9, 10), 3605Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 1), 3659Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 3), 3677Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 11), 3763Diagnostic(ErrorCode.ERR_CloseParenExpected, "else").WithLocation(1, 23), 3846Diagnostic(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),