715 references to ERR_SemicolonExpected
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Initializers.cs (1)
278Error(diagnostics, ErrorCode.ERR_SemicolonExpected, ((ExpressionStatementSyntax)labeledStatementBody.Syntax).SemicolonToken);
Errors\ErrorFacts.cs (1)
1077case ErrorCode.ERR_SemicolonExpected:
Parser\LanguageParser.cs (2)
8309!semicolonToken.GetDiagnostics().Contains(diagnosticInfo => (ErrorCode)diagnosticInfo.Code == ErrorCode.ERR_SemicolonExpected)) 8311semicolonToken = this.AddError(semicolonToken, ErrorCode.ERR_SemicolonExpected);
Parser\SyntaxParser.cs (1)
661return ErrorCode.ERR_SemicolonExpected;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (15)
CodeGen\CodeGenConstructorInitTests.cs (1)
1282Diagnostic(ErrorCode.ERR_SemicolonExpected, "Garbage").WithLocation(4, 18),
CodeGen\CodeGenDeconstructTests.cs (1)
4970Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(4, 16),
CodeGen\CodeGenExprLambdaTests.cs (3)
3741Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(2, 93), 3788Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(2, 93), 3838Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 122),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
1290Diagnostic(ErrorCode.ERR_SemicolonExpected, "??=").WithLocation(10, 16),
CodeGen\CodeGenTupleTest.cs (2)
7343Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(14, 38), 10767Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 21)
CodeGen\CodeGenUsingStatementTests.cs (2)
2544Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 2662Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 8),
CodeGen\FixedSizeBufferTests.cs (2)
874Diagnostic(ErrorCode.ERR_SemicolonExpected, "const").WithLocation(8, 18), 924Diagnostic(ErrorCode.ERR_SemicolonExpected, "fixed").WithLocation(8, 18),
CodeGen\GotoTest.cs (3)
1083Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 8)); 1096Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20), 1108Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20),
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (19)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3558Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 25));
Diagnostics\OperationAnalyzerTests.cs (1)
873Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(26, 6),
Semantics\PatternMatchingTests.cs (4)
4880Diagnostic(ErrorCode.ERR_SemicolonExpected, "or").WithLocation(6, 43), 4886Diagnostic(ErrorCode.ERR_SemicolonExpected, "_").WithLocation(6, 55), 4892Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 56), 6170Diagnostic(ErrorCode.ERR_SemicolonExpected, "z0").WithLocation(7, 31),
Semantics\PatternMatchingTests_Scope.cs (12)
1394Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 27), 1397Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(17, 27), 1452Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 27), 1455Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(17, 27), 2896Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 33), 2899Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(18, 33), 2945Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 33), 2960Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(18, 33), 3102Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(9, 33), 3117Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(11, 33), 3229Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(9, 23), 3238Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(11, 29),
Semantics\PatternMatchingTests2.cs (1)
457Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(25, 28),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (30)
IOperation\IOperationTests_IConstructorBodyOperation.cs (3)
31Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 15), 60Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 24), 790Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 26),
IOperation\IOperationTests_IForEachLoopStatement.cs (3)
1224Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 19), 1230Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(6, 23), 1236Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 27),
IOperation\IOperationTests_IIfStatement.cs (8)
946Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 6) 1051Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(20, 14) 1123Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(12, 28) 1205Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(12, 20), 1223Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(15, 14) 1282Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(14, 13) 1410Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 30), 1416Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 13)
IOperation\IOperationTests_IIsPatternExpression.cs (3)
443Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 45), 449Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 49), 494Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 50),
IOperation\IOperationTests_ILocalFunctionStatement.cs (1)
897Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 44),
IOperation\IOperationTests_ILockStatement.cs (1)
230Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 27)
IOperation\IOperationTests_InvalidStatement.cs (1)
267Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(13, 13),
IOperation\IOperationTests_IObjectCreationExpression.cs (4)
5207Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 88), 5219Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(8, 93), 5222Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 101), 5228Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(8, 110),
IOperation\IOperationTests_IPatternSwitchCase.cs (1)
629Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(9, 50),
IOperation\IOperationTests_ISizeOfExpression.cs (1)
186Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 45),
IOperation\IOperationTests_ISwitchOperation.cs (1)
1626Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(6, 20),
IOperation\IOperationTests_ITypeOfExpression.cs (1)
148Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 45),
IOperation\IOperationTests_IUsingStatement.cs (2)
659Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(14, 18), 665Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(14, 22),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ScriptTests.cs (2)
229Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 32)); 278Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (113)
Semantics\AnonymousFunctionTests.cs (2)
1325Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(6, 32), 1340Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 45)
Semantics\BindingTests.cs (7)
687Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 713Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 2116Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 2846Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(12, 42), 2884Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 40), 2926Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 32), 3463Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 15),
Semantics\DeconstructionTests.cs (5)
3165Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(13, 24), 4049Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(6, 26), 5111Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 19), 6303Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 29) 6364Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 29)
Semantics\ForEachTests.cs (1)
1922Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 28),
Semantics\ForLoopErrorTests.cs (4)
32Diagnostic(ErrorCode.ERR_SemicolonExpected, ","), 35Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 115Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 117Diagnostic(ErrorCode.ERR_SemicolonExpected, ")")
Semantics\FunctionPointerTests.cs (1)
4072Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 41),
Semantics\ImplicitObjectCreationTests.cs (4)
2817Diagnostic(ErrorCode.ERR_SemicolonExpected, "new").WithLocation(6, 20), 2820Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 25), 2855Diagnostic(ErrorCode.ERR_SemicolonExpected, "new").WithLocation(6, 20), 2861Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 25),
Semantics\InterpolationTests.cs (5)
143Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 6), 170Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 6), 200Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 2), 373Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 6), 395Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 20),
Semantics\IteratorTests.cs (1)
318Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18),
Semantics\LambdaTests.cs (10)
1024Diagnostic(ErrorCode.ERR_SemicolonExpected, "") 1078Diagnostic(ErrorCode.ERR_SemicolonExpected, "") 1505Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 23) 1540Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 42) 1941Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 47), 2002Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 58), 2019Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 62), 2112Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(6, 57) 6907Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 35), 6922Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(5, 48));
Semantics\LocalFunctionTests.cs (7)
3832Diagnostic(ErrorCode.ERR_SemicolonExpected, "operator").WithLocation(6, 17), 3838Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 56), 3885Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 16), 3888Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 16), 3894Diagnostic(ErrorCode.ERR_SemicolonExpected, "2").WithLocation(13, 20), 9053Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(6, 59), 9056Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 81)
Semantics\LockTests.cs (4)
321Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 391Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(9, 35), 397Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(9, 47), 461Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"),
Semantics\NullableReferenceTypesTests.cs (4)
1146Diagnostic(ErrorCode.ERR_SemicolonExpected, "!").WithLocation(6, 17), 3673Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 35), 128308Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(16, 30), 137941Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 25));
Semantics\ObjectAndCollectionInitializerTests.cs (5)
2912Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(6, 58), 3172Diagnostic(ErrorCode.ERR_SemicolonExpected, "3").WithLocation(9, 69), 3175Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(9, 71), 3964Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 31) 4042Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 33)
Semantics\OutVarTests.cs (5)
9037Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 27), 9040Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(17, 27), 9095Diagnostic(ErrorCode.ERR_SemicolonExpected, "x1").WithLocation(12, 27), 9098Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(17, 27), 20663Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(7, 27),
Semantics\OverloadResolutionTests.cs (1)
7585Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(8, 36),
Semantics\RawInterpolationTests.cs (5)
139Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 6), 166Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 6), 196Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 2), 424Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 6), 446Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 22),
Semantics\ReadOnlyStructsTests.cs (3)
2139Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(6, 12), 2154Diagnostic(ErrorCode.ERR_SemicolonExpected, "42").WithLocation(6, 27), 2157Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 29),
Semantics\RecordStructTests.cs (7)
7041Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(12, 32), 7050Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(12, 40), 9730Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(10, 35), 9736Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(10, 44), 9996Diagnostic(ErrorCode.ERR_SemicolonExpected, "[").WithLocation(7, 26), 10008Diagnostic(ErrorCode.ERR_SemicolonExpected, "]").WithLocation(7, 28), 10017Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 35),
Semantics\RecordTests.cs (5)
216Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8), 2525Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(7, 16), 2531Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 24) 8850Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(9, 22), 8856Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(9, 30),
Semantics\RefFieldTests.cs (19)
10826Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(6, 26), 10832Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 36), 10847Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(7, 30), 10856Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(7, 40), 10868Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(8, 26), 10880Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 40), 11272Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 11323Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(3, 24), 12567Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(6, 25), 12579Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(7, 23), 13213Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(7, 16), 17582Diagnostic(ErrorCode.ERR_SemicolonExpected, "s1").WithLocation(6, 31), 17600Diagnostic(ErrorCode.ERR_SemicolonExpected, "s3").WithLocation(7, 38), 21359Diagnostic(ErrorCode.ERR_SemicolonExpected, "field").WithLocation(3, 18), 21389Diagnostic(ErrorCode.ERR_SemicolonExpected, "Property").WithLocation(3, 18), 21517Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(5, 22), 21547Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(5, 29), 21577Diagnostic(ErrorCode.ERR_SemicolonExpected, "M").WithLocation(3, 18), 21637Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 43),
Semantics\SemanticErrorTests.cs (1)
16457Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 34),
Semantics\TopLevelStatementsTests.cs (2)
4316Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(4, 9), 4322Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 16)
Semantics\UnsafeTests.cs (5)
6775Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 7676Diagnostic(ErrorCode.ERR_SemicolonExpected, "this"), 7679Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 7688Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>"), 7694Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (21)
Compilation\CompilationAPITests.cs (4)
662Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61), 739Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61), 3183Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 7)); 3211Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10));
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
8981Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(12, 44),
Symbols\LocalFunctionTests.cs (2)
123Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 17), 152Diagnostic(ErrorCode.ERR_SemicolonExpected, "partial").WithLocation(5, 16),
Symbols\Source\ExpressionBodiedPropertyTests.cs (2)
146Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 15)); 230Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 25));
Symbols\Source\FieldTests.cs (6)
288Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(4, 11), 291Diagnostic(ErrorCode.ERR_SemicolonExpected, "const").WithLocation(5, 37), 306Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(5, 48), 353Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(4, 11), 356Diagnostic(ErrorCode.ERR_SemicolonExpected, "const").WithLocation(5, 37), 374Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(5, 48),
Symbols\Source\RecordTests.cs (4)
1221Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 6), 1230Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(3, 6), 1248Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(4, 6), 1254Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(5, 6),
Symbols\SymbolErrorTests.cs (2)
9224Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(14, 39) 15463Diagnostic(ErrorCode.ERR_SemicolonExpected, "[").WithLocation(4, 33),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (510)
IncrementalParsing\IncrementalParsingTests.cs (3)
2425Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 32)); 2455Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 31)); 2483Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 31));
LexicalAndXml\LexicalErrorTests.cs (12)
96Diagnostic(ErrorCode.ERR_SemicolonExpected, "ndOfDirective").WithLocation(3, 25), 143Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 307Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 355Diagnostic(ErrorCode.ERR_SemicolonExpected, "identifier1")); 370Diagnostic(ErrorCode.ERR_SemicolonExpected, @"\u005C").WithLocation(1, 8), 416Diagnostic(ErrorCode.ERR_SemicolonExpected, "5")); 722Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 741Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 760Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 795Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1), 814Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1), 833Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1),
LexicalAndXml\PreprocessorTests.cs (1)
2147VerifyErrorCode(node, (int)ErrorCode.ERR_SemicolonExpected); // CS1003 (Extra), CS1002
Parsing\AnonymousFunctionParsingTests.cs (18)
1484Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 28)); 1538Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 30)); 1599Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 55)); 1612Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 55)); 1620Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 33)); 1629Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 33)); 1703Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 59)); 1716Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 59)); 1724Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 37)); 1733Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 37)); 1888Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 51)); 1904Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 51)); 1991Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(1, 45), 2006Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 58)); 2019Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(1, 45), 2034Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 58)); 2048Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 32)); 2063Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 32));
Parsing\AsyncParsingTests.cs (10)
843Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 20)); 929Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 20)); 1108Diagnostic(ErrorCode.ERR_SemicolonExpected, "async").WithLocation(4, 23), 1641Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 28), 1704Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 36), 1758Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 28), 1821Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 36), 1875Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 1), 1932Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 1), 1984Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 14),
Parsing\AsyncStreamsParsingTests.cs (3)
204Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 27)); 376Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(6, 30), 382Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 43),
Parsing\DeclarationParsingTests.cs (7)
2976Assert.Equal(ErrorCode.ERR_SemicolonExpected, (ErrorCode)file.Errors()[0].Code); 5707Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 5737Diagnostic(ErrorCode.ERR_SemicolonExpected, "partial").WithLocation(5, 13), 5743Diagnostic(ErrorCode.ERR_SemicolonExpected, "partial").WithLocation(6, 13), 6271Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 31), 8658Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2), 8686Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2),
Parsing\DeclarationScopeParsingTests.cs (63)
1431Diagnostic(ErrorCode.ERR_SemicolonExpected, "c2").WithLocation(8, 31) 1755Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(5, 20), 1761Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(6, 29) 3046Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(5, 16), 3193Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(5, 23), 3654Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 13), 3663Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 25), 3759Diagnostic(ErrorCode.ERR_SemicolonExpected, "a").WithLocation(2, 13), 3768Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 23), 3939Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 6), 3951Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 34), 4052Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 13), 4064Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 34), 4229Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 10), 4238Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 22), 4402Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 10), 4411Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 26), 4580Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 10), 4589Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 35), 5411Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(2, 9), 5420Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 28), 5513Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(2, 9), 5522Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 28), 5618Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(2, 19), 6067Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(2, 16), 6070Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 26), 6505Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 11), 6511Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 32), 6603Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 18), 6609Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 32), 7020Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 19), 7026Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 33), 8408Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 12), 8510Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 12) 8573Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 12) 10067Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 27) 10178Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 49) 10259Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 49) 10365Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 24) 10466Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 28) 10578Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 50) 11041Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 30) 11095Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 30) 11153Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 28) 11371Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 41) 11457Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 11534Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(3, 24) 12176Diagnostic(ErrorCode.ERR_SemicolonExpected, "r2").WithLocation(2, 20) 12363Diagnostic(ErrorCode.ERR_SemicolonExpected, "r2").WithLocation(2, 26) 12603Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 24), 12670Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 22), 12793Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 33), 12871Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 33), 12985Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 21), 13098Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 25), 13216Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 34), 13816Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 27), 13886Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 27), 14011Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(4, 18) 14081Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(4, 18) 15114Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(3, 18), 15191Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(3, 22), 15278Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(3, 31),
Parsing\ExpressionParsingTests.cs (7)
1379Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13)); 1557Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2)); 1607Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2)); 1771Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2)); 3160Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 14)); 3260Diagnostic(ErrorCode.ERR_SemicolonExpected, "Delay").WithLocation(6, 25)); 3743Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 14));
Parsing\FileModifierParsingTests.cs (20)
134Diagnostic(ErrorCode.ERR_SemicolonExpected, SyntaxFacts.GetText(typeKeyword)).WithLocation(1, 14) 146Diagnostic(ErrorCode.ERR_SemicolonExpected, SyntaxFacts.GetText(typeKeyword)).WithLocation(1, 14) 274Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 289Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 336Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 351Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 399Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 414Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 2035Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2047Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2088Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2100Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2211Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2223Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6), 2276Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2288Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6), 2342Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2354Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2405Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2417Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6)
Parsing\FunctionPointerTests.cs (7)
1389Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18)); 1558Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 27) 1662Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21)); 3659Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10)); 3703Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 27)); 3882Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 21)); 3969Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 14));
Parsing\LambdaAttributeParsingTests.cs (1)
3654Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(1, 9));
Parsing\LambdaParameterParsingTests.cs (10)
49Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 41), 157Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 160Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 43), 276Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 279Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 45), 402Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 405Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 45), 528Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 534Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 46), 5403Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(1, 20),
Parsing\LocalFunctionParsingTests.cs (17)
59Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 17), 74Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 15), 89Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(14, 16), 95Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(18, 17), 101Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(22, 15), 107Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(26, 16)); 1090Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 12)); 1149Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 12) 1262Diagnostic(ErrorCode.ERR_SemicolonExpected, "virtual").WithLocation(3, 22), 1388Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 32), 1397Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(8, 38), 2483Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14), 2505Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14), 2524Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14), 2544Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14), 2559Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14), 2574Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 14),
Parsing\MemberDeclarationParsingTests.cs (2)
1778Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21) 8290Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 28)
Parsing\NullableParsingTests.cs (1)
39Diagnostic(ErrorCode.ERR_SemicolonExpected, "F").WithLocation(3, 17),
Parsing\ParserErrorMessageTests.cs (47)
195Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 8) 650Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(2, 20), 711Diagnostic(ErrorCode.ERR_SemicolonExpected, "m").WithLocation(8, 20), 735Diagnostic(ErrorCode.ERR_SemicolonExpected, "e").WithLocation(11, 16), 1510Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 13)); 1529ParseAndValidate(test, Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 1552Diagnostic(ErrorCode.ERR_SemicolonExpected, ","), 1579Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 2098Diagnostic(ErrorCode.ERR_SemicolonExpected, "z"), 2101Diagnostic(ErrorCode.ERR_SemicolonExpected, "z"), 2104Diagnostic(ErrorCode.ERR_SemicolonExpected, "z") 2430Diagnostic(ErrorCode.ERR_SemicolonExpected, "Basic").WithLocation(1, 27), 2439Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 32) 2690Diagnostic(ErrorCode.ERR_SemicolonExpected, "base").WithLocation(7, 21), 2696Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(8, 21)); 2745Diagnostic(ErrorCode.ERR_SemicolonExpected, "base").WithLocation(7, 21), 2751Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(8, 21)); 3152Diagnostic(ErrorCode.ERR_SemicolonExpected, "object").WithLocation(6, 21), 3155Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 29), 3245Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 3926Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2), 4173Diagnostic(ErrorCode.ERR_SemicolonExpected, "throw"), 4176Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 4219Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 4301Diagnostic(ErrorCode.ERR_SemicolonExpected, "++").WithLocation(7, 30), 4307Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(7, 33), 4313Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 29), 4358Diagnostic(ErrorCode.ERR_SemicolonExpected, "return").WithLocation(5, 23), 4361Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(5, 31), 4394Diagnostic(ErrorCode.ERR_SemicolonExpected, "goto").WithLocation(5, 24), 4397Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(5, 33), 4450Diagnostic(ErrorCode.ERR_SemicolonExpected, "3").WithLocation(12, 18), 4453Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(12, 19), 4835Diagnostic(ErrorCode.ERR_SemicolonExpected, "30").WithLocation(7, 34), 5355Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 36), 5525Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5540Diagnostic(ErrorCode.ERR_SemicolonExpected, "expr1"), 5543Diagnostic(ErrorCode.ERR_SemicolonExpected, "i"), 5546Diagnostic(ErrorCode.ERR_SemicolonExpected, "in"), 5552Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5558Diagnostic(ErrorCode.ERR_SemicolonExpected, "select"), 5561Diagnostic(ErrorCode.ERR_SemicolonExpected, "new"), 5567Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5582Diagnostic(ErrorCode.ERR_SemicolonExpected, "}"), 6007Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 15), 6794Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(7, 14), 6800Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(8, 14),
Parsing\ParserRegressionTests.cs (3)
55Diagnostic(ErrorCode.ERR_SemicolonExpected, "partial").WithLocation(7, 13), 61Diagnostic(ErrorCode.ERR_SemicolonExpected, "partial").WithLocation(8, 13), 353Diagnostic(ErrorCode.ERR_SemicolonExpected, "::").WithLocation(6, 10),
Parsing\ParsingErrorRecoveryTests.cs (85)
59Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 15), 1393Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1412Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1451Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1471Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1505Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1523Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1541Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1560Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1578Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1598Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 1615Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1705Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1725Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1744Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1765Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 1783Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2191Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 2208Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2224Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2239Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2255Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2270Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2284Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2301Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2320Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 2338Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2355Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2371Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2388Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2404Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2419Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2437Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2887Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2911Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2935Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2957Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2980Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3003Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3026Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3049Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3072Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3402Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3427Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3452Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3478Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3502Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3526Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3551Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3747Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3773Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3800Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3825Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3850Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3876Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 4232Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4234Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4258Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4260Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4263Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[6].Code); 4306Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4329Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4332Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 4403Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4595Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4624Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4654Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 4683Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4712Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5070Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5099Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5129Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 5158Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5192Diagnostic(ErrorCode.ERR_SemicolonExpected, "while").WithLocation(1, 45)); 5497Diagnostic(ErrorCode.ERR_SemicolonExpected).WithLocation(1, 1) 5528Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 5561(int)ErrorCode.ERR_SemicolonExpected 5582Diagnostic(ErrorCode.ERR_SemicolonExpected, "while").WithLocation(1, 34), 5996Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 6043Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 6095Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 6130Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, subitem1.Errors()[1].Code); 6546Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); //we inserted a missing semicolon in a place we didn't expect 6859Diagnostic(ErrorCode.ERR_SemicolonExpected, "::").WithLocation(1, 4), 6868Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 6)
Parsing\PatternParsingTests.cs (2)
11902Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 33) 12010Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 16)
Parsing\RawInterpolatedStringLiteralCompilingTests.cs (13)
508Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 10)); 536Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 10)); 803Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 11)); 821Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 8)); 839Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 9)); 879Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 8)); 897Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 9)); 937Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 8)); 955Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 9)); 995Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 9)); 1013Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 10)); 1031Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 10)); 1049Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 11));
Parsing\RawInterpolatedStringLiteralParsingTests.cs (9)
1129Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 2), 1216Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 2), 1297Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 22)); 1372Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 23)); 1447Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 22)); 1522Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 23)); 1597Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 23)); 1672Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 24)); 1786Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 21));
Parsing\RecordParsing.cs (8)
1250Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(6, 20), 2591Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8) 2606Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 2792Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(1, 8), 2810Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(1, 8) 3602Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 12) 3801Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 14) 3855Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 14)
Parsing\RefReadonlyTests.cs (7)
219Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(8, 40), 246Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(8, 31), 272Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(7, 39), 325Diagnostic(ErrorCode.ERR_SemicolonExpected, "ar").WithLocation(8, 35), 328Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(8, 37), 357Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(10, 15), 366Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(10, 25),
Parsing\ScriptParsingTests.cs (59)
79new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 6 }, 80new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 3, Column = 12 }}); 96Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 5), 190Diagnostic(ErrorCode.ERR_SemicolonExpected, "y").WithLocation(1, 7)); 232Diagnostic(ErrorCode.ERR_SemicolonExpected, "y").WithLocation(1, 7)); 283ParseAndValidate(test, new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 10 }); 301ParseAndValidate(test, new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 11 }); 1830new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 13 }, 1831new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 3, Column = 15 }); 2594ParseAndValidate(test, TestOptions.Regular9, new[] { new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 8 } }); // expected ';' 2987Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 7)); 3029Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 11)); 3311Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 14)); 3362Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10)); 3405Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 12)); 3456Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18)); 3525Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 3583Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21)); 3658Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 14)); 3702Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 12)); 3763Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13)); 3807Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 3855Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 3903Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 19)); 3951Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18)); 4016Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13)); 4069Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13)); 4113Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 11)); 4156Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 15)); 4200Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18)); 4245Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 12)); 4288Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 4335Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 12)); 4386Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13)); 4443Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 4502Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 20)); 8385Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 7)); 8417Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 8481Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 9)); 8525Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 8570Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 8610Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 8657Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 8706Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 9)); 8755Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 14)); 9180Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 6), 9241Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(2, 6), 9298Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 6), 9355Diagnostic(ErrorCode.ERR_SemicolonExpected, "]").WithLocation(2, 6), 9412Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 6), 9468new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 3 }, 9479new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 29 }); 9491new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 3, Column = 6 }); 9507new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9519new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9531new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9578new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 10 }, 9593new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 8 }); 9605new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 3 });
Parsing\StatementAttributeParsingTests.cs (14)
796Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 17)); 858Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 17)); 1994Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 19)); 2078Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 19)); 2542Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(9, 20), 2633Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(9, 20), 3265Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 24)); 3329Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 24)); 3348Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20)); 3415Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20)); 6624Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(6, 16), 6633Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 28), 6744Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(6, 16), 6756Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 28),
Parsing\StatementParsingTests.cs (12)
39Diagnostic(ErrorCode.ERR_SemicolonExpected, "private").WithLocation(1, 1) 2693Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(6, 25)); 2768Diagnostic(ErrorCode.ERR_SemicolonExpected, "a").WithLocation(1, 11)); 3535CSharpTestBase.Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 10), 3553Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, statement.Errors()[0].Code); 3566Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(1, 10), 3611Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 1) 3665Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 3), 3683Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 11) 3769Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 23) 3852Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 8) 4121Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(1, 26)
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
815Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 825Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8));
Parsing\SwitchExpressionParsingTests.cs (1)
316Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 19),
Parsing\TopLevelStatementsParsingTests.cs (38)
107Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 6), 125Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 11), 257Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 12) 335Diagnostic(ErrorCode.ERR_SemicolonExpected, @"\u005C").WithLocation(1, 8), 528Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 611Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 11) 811Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2), 892Diagnostic(ErrorCode.ERR_SemicolonExpected, "Basic").WithLocation(1, 27), 898Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 32) 986Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(2, 20), 1006Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(2, 20), 1055Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 8) 1161Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 4) 1335Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61) 1378Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(2, 16), 1381Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(2, 22) 1465Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 19), 1474Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 38) 1582Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 1680Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61) 1719Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 2) 1802Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10) 2240Diagnostic(ErrorCode.ERR_SemicolonExpected, "Parse").WithLocation(1, 11) 2315Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 17) 2375Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10) 2437Diagnostic(ErrorCode.ERR_SemicolonExpected, "'").WithLocation(1, 20), 2446Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21) 2537Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 9) 2720Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 3) 2761Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 3) 2830Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 3) 3062Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(2, 8), 3202Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8), 3220Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8) 3373Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2) 3441Diagnostic(ErrorCode.ERR_SemicolonExpected, "using").WithLocation(4, 8) 3511Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 15), 3520Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 17)
Parsing\TypeArgumentListParsingTests.cs (18)
38Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 76)); 154Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 73)); 282Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 74)); 405Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 65), 411Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 67), 554Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 76), 560Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 78), 1014Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 66), 1020Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 68), 1153Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 66), 1159Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 68), 1295Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 67), 1301Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 69), 1437Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 72)); 1557Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 44)); 1762Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 74)); 2017Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 77)); 2151Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 77));
Parsing\UsingDirectiveParsingTests.cs (8)
28Diagnostic(ErrorCode.ERR_SemicolonExpected, "*").WithLocation(1, 8), 252Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 16), 318Diagnostic(ErrorCode.ERR_SemicolonExpected, "*").WithLocation(1, 15), 555Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(1, 14), 3470Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 14), 3519Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 18), 3575Diagnostic(ErrorCode.ERR_SemicolonExpected, "System").WithLocation(2, 18)); 3622Diagnostic(ErrorCode.ERR_SemicolonExpected, "System").WithLocation(2, 18));
Syntax\SyntaxFactoryTests.cs (2)
633Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 644Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16));