18 references to ERR_UnexpectedSemicolon
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1202
case ErrorCode.
ERR_UnexpectedSemicolon
:
Parser\LanguageParser.cs (4)
3078
semicolon = this.EatTokenWithPrejudice(ErrorCode.
ERR_UnexpectedSemicolon
);
3631
semicolon = this.EatTokenWithPrejudice(ErrorCode.
ERR_UnexpectedSemicolon
);
3708
semicolon = this.EatTokenWithPrejudice(ErrorCode.
ERR_UnexpectedSemicolon
);
4606
semi = this.AddError(semi, ErrorCode.
ERR_UnexpectedSemicolon
);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (7)
Semantics\ObjectAndCollectionInitializerTests.cs (2)
2915
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(6, 59),
3178
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(9, 72),
Semantics\OverloadResolutionTests.cs (1)
7588
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(8, 37),
Semantics\RecordStructTests.cs (3)
7053
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(12, 43),
9739
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(10, 47),
10020
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(7, 36),
Semantics\RecordTests.cs (1)
8859
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(9, 33),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Symbols\Source\ExpressionBodiedPropertyTests.cs (3)
133
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(4, 19));
200
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(4, 29));
214
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(4, 24),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Parsing\ParserErrorMessageTests.cs (2)
5079
ParseAndValidate(test, Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";"));
5585
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";"),
Parsing\RecordParsing.cs (1)
1241
Diagnostic(ErrorCode.
ERR_UnexpectedSemicolon
, ";").WithLocation(5, 15),