109 references to ERR_EOFExpected
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1095case ErrorCode.ERR_EOFExpected:
Parser\LanguageParser.cs (2)
460IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected); 567IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected);
Syntax\SyntaxFactory.cs (1)
2393case ErrorCode.ERR_EOFExpected:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenExprLambdaTests.cs (6)
3735Diagnostic(ErrorCode.ERR_EOFExpected, "=>").WithLocation(2, 76), 3738Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 81), 3747Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(2, 95), 3782Diagnostic(ErrorCode.ERR_EOFExpected, "=>").WithLocation(2, 76), 3785Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 81), 3794Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(2, 95),
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IArgument.cs (1)
2762Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(16, 1),
IOperation\IOperationTests_IObjectCreationExpression.cs (2)
5234Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 5), 5237Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1),
IOperation\IOperationTests_ISwitchOperation.cs (1)
1632Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (14)
Semantics\ObjectAndCollectionInitializerTests.cs (2)
2918Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1), 3181Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1)
Semantics\OverloadResolutionTests.cs (1)
7591Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1),
Semantics\RecordStructTests.cs (3)
7056Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(14, 1) 9751Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1) 10023Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(9, 1)
Semantics\RecordTests.cs (1)
8862Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1)
Semantics\RefFieldTests.cs (1)
21404Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)
Semantics\SemanticErrorTests.cs (4)
2778new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 4, Column = 5 }, 2780new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 4, Column = 14 }, 2782new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 6, Column = 9 }, 2822Diagnostic(ErrorCode.ERR_EOFExpected, "}"),
Semantics\TopLevelStatementsTests.cs (2)
675Diagnostic(ErrorCode.ERR_EOFExpected, @"""Hi!""").WithLocation(4, 30) 9608Diagnostic(ErrorCode.ERR_EOFExpected, "42").WithLocation(3, 22)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (9)
Symbols\AssemblyAndNamespaceTests.cs (1)
631Diagnostic(ErrorCode.ERR_EOFExpected, ";").WithLocation(3, 27));
Symbols\LocalFunctionTests.cs (2)
164Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(7, 1)); 190Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(7, 1));
Symbols\Source\EnumTests.cs (4)
280Diagnostic(ErrorCode.ERR_EOFExpected, "}")); 291new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected }, 490DiagnosticsUtils.VerifyErrorCodesNoLineColumn(comp.GetDiagnostics(), new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected }, 491new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected },
Symbols\Source\FieldTests.cs (2)
309Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1), 377Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1),
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (72)
Parsing\DeclarationParsingTests.cs (4)
8636Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(2, 13), 8661Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 8672Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(2, 13), 8689Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1));
Parsing\DeclarationScopeParsingTests.cs (22)
3666Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 25), 3771Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 23), 3954Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 34), 4067Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 34), 4241Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 22), 4414Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 26), 4592Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 35), 5423Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 28), 5525Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 28), 6073Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 26), 6514Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 32) 6612Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 32) 7029Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 33) 12606Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 24) 12673Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 22) 12796Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 33) 12874Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 33) 12988Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 21) 13101Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 25) 13219Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 34) 13819Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 27) 13889Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 27)
Parsing\LambdaParameterParsingTests.cs (1)
5409Diagnostic(ErrorCode.ERR_EOFExpected, "=>").WithLocation(1, 27));
Parsing\LocalFunctionParsingTests.cs (3)
566Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)); 621Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)); 1268Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(9, 1));
Parsing\ParserErrorMessageTests.cs (16)
69Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(16, 1) 247Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1)); 2409Diagnostic(ErrorCode.ERR_EOFExpected, "}"), 2410Diagnostic(ErrorCode.ERR_EOFExpected, "}"), 2411Diagnostic(ErrorCode.ERR_EOFExpected, "}"), 2412Diagnostic(ErrorCode.ERR_EOFExpected, "}"), 2413Diagnostic(ErrorCode.ERR_EOFExpected, "}")); 2891Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(12, 1) 2955Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(12, 1)); 2993Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(12, 1)); 3912Diagnostic(ErrorCode.ERR_EOFExpected, ".").WithLocation(1, 15), 3929Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 4699Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1) 4761Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 4793Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 5588Diagnostic(ErrorCode.ERR_EOFExpected, "}")
Parsing\ParsingErrorRecoveryTests.cs (6)
383Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 397Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 398Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[1].Code); 635Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 649Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 663Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code);
Parsing\RecordParsing.cs (2)
1253Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 20), 1256Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)
Parsing\RefReadonlyTests.cs (1)
160Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(24, 1));
Parsing\SingleLineDeclarationParsingTests.cs (5)
286Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(1, 14)); 311Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(1, 14), 314Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(1, 16)); 339Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(1, 14)); 685Diagnostic(ErrorCode.ERR_EOFExpected, ";").WithLocation(1, 13));
Parsing\StatementAttributeParsingTests.cs (4)
2548Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1)); 2639Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1)); 6869Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)); 6936Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1));
Parsing\TopLevelStatementsParsingTests.cs (7)
30Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1) 675Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1) 797Diagnostic(ErrorCode.ERR_EOFExpected, ".").WithLocation(1, 15), 814Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1) 1240Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1) 1468Diagnostic(ErrorCode.ERR_EOFExpected, ",").WithLocation(1, 19), 3514Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 15),
Parsing\UsingDirectiveParsingTests.cs (1)
255Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(1, 16));