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