788 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)
1139or ErrorCode.ERR_SemicolonExpected
Parser\LanguageParser.cs (2)
9008!semicolonToken.GetDiagnostics().Contains(diagnosticInfo => (ErrorCode)diagnosticInfo.Code == ErrorCode.ERR_SemicolonExpected)) 9010semicolonToken = this.AddError(semicolonToken, ErrorCode.ERR_SemicolonExpected);
Parser\SyntaxParser.cs (1)
697return ErrorCode.ERR_SemicolonExpected;
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (26)
CodeGen\CodeGenAsyncIteratorTests.cs (2)
8742Diagnostic(ErrorCode.ERR_SemicolonExpected, "Task").WithLocation(13, 19), 8808Diagnostic(ErrorCode.ERR_SemicolonExpected, "Task").WithLocation(12, 19),
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 (5)
1489Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 10)); 1526Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 10)); 3469Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(2, 93), 3516Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(2, 93), 3566Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 122),
CodeGen\CodeGenNullCoalescingAssignmentTests.cs (1)
1290Diagnostic(ErrorCode.ERR_SemicolonExpected, "??=").WithLocation(10, 16),
CodeGen\CodeGenTupleTest.cs (2)
7340Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(14, 38), 10761Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 21)
CodeGen\CodeGenUsingDeclarationTests.cs (7)
1489Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 39)); 1539Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 44)); 1600Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 38)); 1653Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 49)); 1711Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 42)); 1769Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 40)); 1827Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 42));
CodeGen\CodeGenUsingStatementTests.cs (2)
2545Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 2663Diagnostic(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)
1193Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 8)); 1206Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20), 1218Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (40)
Diagnostics\DiagnosticAnalyzerTests.cs (1)
3650Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 25));
Diagnostics\OperationAnalyzerTests.cs (1)
873Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(26, 6),
Semantics\CollectionExpressionTests.cs (3)
6945Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(8, 18), 6948Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 20), 6954Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(8, 23),
Semantics\ExtensionTests.cs (2)
2394Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(1, 15), 25558Diagnostic(ErrorCode.ERR_SemicolonExpected, "M").WithLocation(5, 14),
Semantics\OutVarTests.cs (8)
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), 20674Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(7, 27), 21574(int)ErrorCode.ERR_SemicolonExpected, 21772(int)ErrorCode.ERR_SemicolonExpected, 36400Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(6, 41),
Semantics\PatternMatchingTests.cs (4)
4882Diagnostic(ErrorCode.ERR_SemicolonExpected, "or").WithLocation(6, 43), 4888Diagnostic(ErrorCode.ERR_SemicolonExpected, "_").WithLocation(6, 55), 4894Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 56), 6172Diagnostic(ErrorCode.ERR_SemicolonExpected, "z0").WithLocation(7, 31),
Semantics\PatternMatchingTests_Scope.cs (14)
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), 12404(int)ErrorCode.ERR_SemicolonExpected, 12596(int)ErrorCode.ERR_SemicolonExpected,
Semantics\PatternMatchingTests2.cs (1)
453Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(25, 28),
Semantics\PrimaryConstructorTests.cs (1)
393Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 27)
Semantics\RecordTests.cs (5)
216Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8), 2580Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(7, 16), 2586Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 24) 8905Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(9, 22), 8911Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(9, 30),
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), 497Diagnostic(ErrorCode.ERR_SemicolonExpected, "Console").WithLocation(8, 52),
IOperation\IOperationTests_ILocalFunctionStatement.cs (1)
897Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 44),
IOperation\IOperationTests_ILockStatement.cs (1)
245Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 27)
IOperation\IOperationTests_InvalidStatement.cs (1)
267Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(13, 13),
IOperation\IOperationTests_IObjectCreationExpression.cs (4)
5212Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(8, 90), 5224Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(8, 93), 5227Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 101), 5233Diagnostic(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)
983Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(14, 18), 989Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(14, 22),
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (2)
ScriptTests.cs (2)
228Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 32)); 277Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13));
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (102)
Semantics\AnonymousFunctionTests.cs (2)
1325Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(6, 32), 1340Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 45)
Semantics\BindingTests.cs (7)
720Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 746Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 2149Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 2879Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(12, 42), 2917Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 40), 2959Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 32), 3723Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 15),
Semantics\DeconstructionTests.cs (5)
3165Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(13, 24), 4049Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(6, 26), 5108Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 19), 6300Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 29) 6361Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 29)
Semantics\ForEachTests.cs (1)
1923Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(6, 28),
Semantics\ForLoopErrorTests.cs (3)
30Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 39), 117Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 119Diagnostic(ErrorCode.ERR_SemicolonExpected, ")")
Semantics\FunctionPointerTests.cs (1)
4093Diagnostic(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 (8)
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), 19070Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 27) 19126Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 12) 19184Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 2),
Semantics\IteratorTests.cs (1)
550Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 18),
Semantics\LambdaTests.cs (10)
1027Diagnostic(ErrorCode.ERR_SemicolonExpected, "") 1081Diagnostic(ErrorCode.ERR_SemicolonExpected, "") 1508Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 23) 1543Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 42) 1944Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 47), 2005Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 58), 2022Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 62), 2115Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(6, 57) 6937Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 35), 6952Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(5, 48));
Semantics\LocalFunctionTests.cs (7)
3916Diagnostic(ErrorCode.ERR_SemicolonExpected, "operator").WithLocation(6, 17), 3922Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 56), 3969Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 16), 3972Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 16), 3978Diagnostic(ErrorCode.ERR_SemicolonExpected, "2").WithLocation(13, 20), 9134Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(6, 59), 9137Diagnostic(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, "").WithLocation(6, 33),
Semantics\NullableReferenceTypesTests.cs (6)
1158Diagnostic(ErrorCode.ERR_SemicolonExpected, "!").WithLocation(6, 17), 3685Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 35), 91298Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 14)); 132078Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(16, 30), 142270Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(7, 25)); 161573Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(15, 20));
Semantics\ObjectAndCollectionInitializerTests.cs (6)
2879Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 6), 2931Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(6, 58), 3191Diagnostic(ErrorCode.ERR_SemicolonExpected, "3").WithLocation(9, 69), 3194Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(9, 71), 4054Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 31) 4132Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 33)
Semantics\OverloadResolutionPerfTests.cs (1)
978Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(7, 28));
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 (4)
7143Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(12, 32), 7152Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(12, 40), 9842Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(10, 35), 9848Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(10, 44),
Semantics\RefFieldTests.cs (13)
11788Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 11837Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(3, 24), 11883Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(3, 24), 13127Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(6, 25), 13139Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(7, 23), 13773Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(7, 16), 18197Diagnostic(ErrorCode.ERR_SemicolonExpected, "s1").WithLocation(6, 31), 18215Diagnostic(ErrorCode.ERR_SemicolonExpected, "s3").WithLocation(7, 38), 21966Diagnostic(ErrorCode.ERR_SemicolonExpected, "field").WithLocation(3, 18), 21996Diagnostic(ErrorCode.ERR_SemicolonExpected, "Property").WithLocation(3, 18), 22124Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(5, 22), 22154Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(5, 29), 22184Diagnostic(ErrorCode.ERR_SemicolonExpected, "M").WithLocation(3, 18),
Semantics\SemanticErrorTests.cs (1)
16572Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(11, 34));
Semantics\SimpleLambdaParametersWithModifiersTests.cs (2)
1248Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(7, 16), 1291Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(7, 20),
Semantics\TopLevelStatementsTests.cs (3)
4329Diagnostic(ErrorCode.ERR_SemicolonExpected, "local").WithLocation(4, 9), 4335Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 16) 9742Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 14)
Semantics\UnsafeTests.cs (5)
9613Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 10521Diagnostic(ErrorCode.ERR_SemicolonExpected, "this"), 10524Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 10533Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>"), 10539Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (21)
Compilation\CompilationAPITests.cs (4)
660Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61), 737Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 61), 3185Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 7)); 3213Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10));
Compilation\SemanticModelGetSemanticInfoTests.cs (1)
8976Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(12, 44),
Symbols\LocalFunctionTests.cs (2)
124Diagnostic(ErrorCode.ERR_SemicolonExpected, "static").WithLocation(5, 17), 153Diagnostic(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)
9367Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(14, 39) 15611Diagnostic(ErrorCode.ERR_SemicolonExpected, "[").WithLocation(4, 33),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (562)
IncrementalParsing\IncrementalParsingTests.cs (3)
3230Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 32)); 3260Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 31)); 3288Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 31));
LexicalAndXml\LexicalErrorTests.cs (20)
99Diagnostic(ErrorCode.ERR_SemicolonExpected, "ndOfDirective").WithLocation(3, 25), 147Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 3)); 375Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 566Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 25), 591Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 12)); 640Diagnostic(ErrorCode.ERR_SemicolonExpected, ""), 688Diagnostic(ErrorCode.ERR_SemicolonExpected, "identifier1")); 703Diagnostic(ErrorCode.ERR_SemicolonExpected, @"\u005C").WithLocation(1, 8), 748Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(6, 15), 777Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(6, 15), 806Diagnostic(ErrorCode.ERR_SemicolonExpected, "龦").WithLocation(6, 15)); 861Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(8, 2), 903Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 19)); 930Diagnostic(ErrorCode.ERR_SemicolonExpected, "5")); 1236Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 1255Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 1274Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 1), 1309Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1), 1328Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1), 1347Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 1),
LexicalAndXml\PreprocessorTests.cs (1)
2147VerifyErrorCode(node, (int)ErrorCode.ERR_SemicolonExpected); // CS1003 (Extra), CS1002
Parsing\AnonymousFunctionParsingTests.cs (16)
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));
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), 1632Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 28), 1689Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 36), 1743Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 28), 1800Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 36), 1855Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 1), 1912Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(5, 1), 1964Diagnostic(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\CollectionExpressionParsingTests.cs (5)
243Diagnostic(ErrorCode.ERR_SemicolonExpected, "return").WithLocation(1, 2), 249Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(1, 8), 508Diagnostic(ErrorCode.ERR_SemicolonExpected, "return").WithLocation(1, 2), 514Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(1, 8), 7083Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 13));
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), 8563Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2), 8591Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2),
Parsing\DeclarationScopeParsingTests.cs (41)
1424Diagnostic(ErrorCode.ERR_SemicolonExpected, "c2").WithLocation(8, 31) 1748Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(5, 20), 1754Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(6, 29) 3039Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(5, 16), 3186Diagnostic(ErrorCode.ERR_SemicolonExpected, "extern").WithLocation(5, 23), 3647Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 13), 3723Diagnostic(ErrorCode.ERR_SemicolonExpected, "a").WithLocation(2, 13), 3874Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 6), 3958Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 13), 4106Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 10), 4250Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 10), 4399Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 10), 5201Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(2, 9), 5274Diagnostic(ErrorCode.ERR_SemicolonExpected, "scoped").WithLocation(2, 9), 5350Diagnostic(ErrorCode.ERR_SemicolonExpected, "=").WithLocation(2, 19), 5799Diagnostic(ErrorCode.ERR_SemicolonExpected, "var").WithLocation(2, 16), 5802Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 26), 6237Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 11), 6324Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 18), 6730Diagnostic(ErrorCode.ERR_SemicolonExpected, "readonly").WithLocation(2, 19), 8107Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 12), 8209Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 12) 8272Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(2, 12) 9766Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 27) 10050Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 24) 10151Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 28) 10719Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 30) 10773Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 30) 10831Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 28) 11049Diagnostic(ErrorCode.ERR_SemicolonExpected, "in").WithLocation(2, 41) 11135Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 11212Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(3, 24) 11854Diagnostic(ErrorCode.ERR_SemicolonExpected, "r2").WithLocation(2, 20) 12041Diagnostic(ErrorCode.ERR_SemicolonExpected, "r2").WithLocation(2, 26) 12337Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 22), 13487Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 27), 13612Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(4, 18) 13682Diagnostic(ErrorCode.ERR_SemicolonExpected, "ref").WithLocation(4, 18) 14715Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(3, 18), 14795Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(3, 24), 14881Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(3, 33),
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\ExtensionsParsingTests.cs (3)
38Diagnostic(ErrorCode.ERR_SemicolonExpected, "T").WithLocation(3, 34), 1875Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(3, 29), 1949Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(3, 29),
Parsing\FileModifierParsingTests.cs (20)
135Diagnostic(ErrorCode.ERR_SemicolonExpected, SyntaxFacts.GetText(typeKeyword)).WithLocation(1, 14) 147Diagnostic(ErrorCode.ERR_SemicolonExpected, SyntaxFacts.GetText(typeKeyword)).WithLocation(1, 14) 275Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 290Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 337Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 352Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 400Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 415Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 18) 2036Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2048Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2089Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2101Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 5) 2212Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2224Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6), 2277Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2289Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6), 2343Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2355Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2406Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6) 2418Diagnostic(ErrorCode.ERR_SemicolonExpected, "namespace").WithLocation(1, 6)
Parsing\ForStatementParsingTest.cs (34)
91Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 15)); 153Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 15), 156Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 23)); 218Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 15), 221Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 18)); 267Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 15), 270Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 16)); 376Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(1, 15), 1034Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 42), 1040Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 42), 1046Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 43)); 1148Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 44), 1154Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 44), 1160Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 45)); 1265Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 46), 1271Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 46), 1277Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 47)); 1387Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 47), 1393Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 47), 1399Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 48)); 1515Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 48), 1521Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 48), 1527Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 49)); 1645Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 49), 1651Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(1, 49), 1657Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 50)); 1768Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 44)); 1856Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 46)); 1948Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 48)); 2044Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 49)); 2147Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 50)); 2248Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 51)); 4358Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 13), 4364Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 13),
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 (6)
3636Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(1, 9)); 3782Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(8, 19)); 4286Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(7, 20), 4289Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(7, 36), 4420Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(7, 20), 4423Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(7, 27),
Parsing\LambdaParameterParsingTests.cs (10)
44Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 41), 152Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 155Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 43), 271Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 274Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 45), 397Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 400Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 45), 523Diagnostic(ErrorCode.ERR_SemicolonExpected, "C").WithLocation(4, 42), 529Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 46), 5471Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(1, 20),
Parsing\LocalFunctionParsingTests.cs (20)
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), 2665Diagnostic(ErrorCode.ERR_SemicolonExpected, "delegate").WithLocation(6, 59), 2668Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 81)); 2891Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(9, 27),
Parsing\MemberDeclarationParsingTests.cs (3)
1744Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21) 8252Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 28) 11292Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(20, 25),
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)); 3073Diagnostic(ErrorCode.ERR_SemicolonExpected, "object").WithLocation(6, 21), 3079Diagnostic(ErrorCode.ERR_SemicolonExpected, "null").WithLocation(6, 34)); 3166Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 3847Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 2), 4094Diagnostic(ErrorCode.ERR_SemicolonExpected, "throw"), 4097Diagnostic(ErrorCode.ERR_SemicolonExpected, ")"), 4140Diagnostic(ErrorCode.ERR_SemicolonExpected, "")); 4222Diagnostic(ErrorCode.ERR_SemicolonExpected, "++").WithLocation(7, 30), 4228Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(7, 33), 4234Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(8, 29), 4279Diagnostic(ErrorCode.ERR_SemicolonExpected, "return").WithLocation(5, 23), 4282Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(5, 31), 4315Diagnostic(ErrorCode.ERR_SemicolonExpected, "goto").WithLocation(5, 24), 4318Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(5, 33), 4371Diagnostic(ErrorCode.ERR_SemicolonExpected, "3").WithLocation(12, 18), 4374Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(12, 19), 4674Diagnostic(ErrorCode.ERR_SemicolonExpected, "30").WithLocation(7, 34), 5194Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 36), 5364Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5379Diagnostic(ErrorCode.ERR_SemicolonExpected, "expr1"), 5382Diagnostic(ErrorCode.ERR_SemicolonExpected, "i"), 5385Diagnostic(ErrorCode.ERR_SemicolonExpected, "in"), 5391Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5397Diagnostic(ErrorCode.ERR_SemicolonExpected, "select"), 5400Diagnostic(ErrorCode.ERR_SemicolonExpected, "new"), 5406Diagnostic(ErrorCode.ERR_SemicolonExpected, "const"), 5421Diagnostic(ErrorCode.ERR_SemicolonExpected, "}"), 5846Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 15), 6633Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(7, 14), 6639Diagnostic(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 (98)
68Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(10, 15), 1555Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1574Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1613Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1633Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1667Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1685Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1703Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1722Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1740Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1760Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 1777Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 1867Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1887Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 1906Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 1927Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 1945Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2353Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 2370Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2386Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2401Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2417Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2432Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2446Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2463Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2482Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 2500Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 2517Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2533Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2550Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 2566Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 2581Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 2599Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 3049Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3073Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3097Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3119Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[0].Code); 3142Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3165Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3188Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3211Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3234Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3564Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3589Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3614Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3640Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3664Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3688Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3713Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3909Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3935Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 3962Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 3987Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4012Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4038Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 4394Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4396Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4420Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4422Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4425Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[6].Code); 4468Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4491Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4494Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[4].Code); 4565Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[3].Code); 4757Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4786Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4816Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 4845Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 4874Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5093Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 5122Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5152Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 5181Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5559Diagnostic(ErrorCode.ERR_SemicolonExpected, "if").WithLocation(1, 45), 5696Diagnostic(ErrorCode.ERR_SemicolonExpected, "return").WithLocation(1, 45), 5842Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(1, 49), 5874Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5903Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5933Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 5962Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 5996Diagnostic(ErrorCode.ERR_SemicolonExpected, "while").WithLocation(1, 45)); 6301Diagnostic(ErrorCode.ERR_SemicolonExpected).WithLocation(1, 1) 6332Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 6365(int)ErrorCode.ERR_SemicolonExpected 6386Diagnostic(ErrorCode.ERR_SemicolonExpected, "while").WithLocation(1, 34), 6800Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 6847Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[1].Code); 6899Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); 6934Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, subitem1.Errors()[1].Code); 7336Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, file.Errors()[2].Code); //we inserted a missing semicolon in a place we didn't expect 7649Diagnostic(ErrorCode.ERR_SemicolonExpected, "::").WithLocation(1, 4), 7658Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 6) 8047Diagnostic(ErrorCode.ERR_SemicolonExpected, "@").WithLocation(1, 6), 8087Diagnostic(ErrorCode.ERR_SemicolonExpected, "@").WithLocation(1, 2), 8134Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 9)); 8184Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10)); 8234Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 11)); 8285Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(4, 2),
Parsing\PartialEventsAndConstructorsParsingTests.cs (2)
530Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 49)); 575Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 46));
Parsing\PatternParsingTests.cs (2)
11863Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 33) 11971Diagnostic(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), 2741Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8) 2756Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 8), 2942Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(1, 8), 2960Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(1, 8) 3752Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 12) 3951Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 14) 4005Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(1, 14)
Parsing\RefReadonlyTests.cs (6)
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),
Parsing\ScriptParsingTests.cs (58)
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), 9294Diagnostic(ErrorCode.ERR_SemicolonExpected, ")").WithLocation(2, 6), 9351Diagnostic(ErrorCode.ERR_SemicolonExpected, "]").WithLocation(2, 6), 9408Diagnostic(ErrorCode.ERR_SemicolonExpected, "}").WithLocation(2, 6), 9464new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 3 }, 9475new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 29 }); 9487new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 3, Column = 6 }); 9503new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9515new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9527new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 1, Column = 9 }); 9574new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 10 }, 9589new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 8 }); 9601new ErrorDescription { Code = (int)ErrorCode.ERR_SemicolonExpected, Line = 2, Column = 3 });
Parsing\StatementAttributeParsingTests.cs (16)
797Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 17)); 859Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 17)); 1995Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 19)); 2079Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(6, 19)); 2543Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(9, 20), 2634Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(9, 20), 3266Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 24)); 3330Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 24)); 3349Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20)); 3416Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 20)); 5527Diagnostic(ErrorCode.ERR_SemicolonExpected, "i").WithLocation(5, 14)); 5602Diagnostic(ErrorCode.ERR_SemicolonExpected, "i").WithLocation(5, 14), 6636Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(6, 16), 6645Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 28), 6756Diagnostic(ErrorCode.ERR_SemicolonExpected, "this").WithLocation(6, 16), 6768Diagnostic(ErrorCode.ERR_SemicolonExpected, "=>").WithLocation(6, 28),
Parsing\StatementParsingTests.cs (14)
39Diagnostic(ErrorCode.ERR_SemicolonExpected, "private").WithLocation(1, 1) 2696Diagnostic(ErrorCode.ERR_SemicolonExpected, "x").WithLocation(6, 25)); 2771Diagnostic(ErrorCode.ERR_SemicolonExpected, "a").WithLocation(1, 11)); 3538CSharpTestBase.Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(9, 10), 3556Assert.Equal((int)ErrorCode.ERR_SemicolonExpected, statement.Errors()[0].Code); 3565Diagnostic(ErrorCode.ERR_SemicolonExpected, "public").WithLocation(1, 10), 3612Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 1) 3666Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 3), 3684Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 11) 3770Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 23) 3853Diagnostic(ErrorCode.ERR_SemicolonExpected, "else").WithLocation(1, 8) 4122Diagnostic(ErrorCode.ERR_SemicolonExpected, ":").WithLocation(1, 26) 5830Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 28)); 5924Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 28));
Parsing\SuppressNullableWarningExpressionParsingTests.cs (2)
845Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8)); 855Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 8));
Parsing\SwitchExpressionParsingTests.cs (1)
317Diagnostic(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) 2243Diagnostic(ErrorCode.ERR_SemicolonExpected, "Parse").WithLocation(1, 11) 2318Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 17) 2378Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 10) 2440Diagnostic(ErrorCode.ERR_SemicolonExpected, "'").WithLocation(1, 20), 2449Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 21) 2540Diagnostic(ErrorCode.ERR_SemicolonExpected, "{").WithLocation(1, 9) 2723Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 3) 2764Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 3) 2833Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 3) 3065Diagnostic(ErrorCode.ERR_SemicolonExpected, "struct").WithLocation(2, 8), 3205Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8), 3223Diagnostic(ErrorCode.ERR_SemicolonExpected, "class").WithLocation(2, 8) 3376Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(3, 2) 3444Diagnostic(ErrorCode.ERR_SemicolonExpected, "using").WithLocation(4, 8) 3517Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 17)); 3567Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(2, 14)
Parsing\TypeArgumentListParsingTests.cs (18)
36Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 76)); 152Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 73)); 280Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 74)); 403Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 65), 409Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 67), 552Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 76), 558Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 78), 1012Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 66), 1018Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 68), 1151Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 66), 1157Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 68), 1293Diagnostic(ErrorCode.ERR_SemicolonExpected, "<").WithLocation(6, 67), 1299Diagnostic(ErrorCode.ERR_SemicolonExpected, ",").WithLocation(6, 69), 1435Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 72)); 1555Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 44)); 1760Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 74)); 2015Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 77)); 2149Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(6, 77));
Parsing\UsingDirectiveParsingTests.cs (7)
28Diagnostic(ErrorCode.ERR_SemicolonExpected, "*").WithLocation(1, 8), 308Diagnostic(ErrorCode.ERR_SemicolonExpected, "*").WithLocation(1, 15), 545Diagnostic(ErrorCode.ERR_SemicolonExpected, "(").WithLocation(1, 14), 3420Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 14), 3469Diagnostic(ErrorCode.ERR_SemicolonExpected, "int").WithLocation(2, 18), 3525Diagnostic(ErrorCode.ERR_SemicolonExpected, "System").WithLocation(2, 18)); 3572Diagnostic(ErrorCode.ERR_SemicolonExpected, "System").WithLocation(2, 18));
Syntax\SyntaxFactoryTests.cs (2)
647Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16)); 658Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 16));
Syntax\SyntaxNodeTests.cs (1)
504TestBase.Diagnostic(ErrorCode.ERR_SemicolonExpected, "").WithLocation(1, 9));