112 references to ERR_EOFExpected
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1157or ErrorCode.ERR_EOFExpected
Parser\LanguageParser.cs (2)
617IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected); 734IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected);
Syntax\SyntaxFactory.cs (1)
2416case ErrorCode.ERR_EOFExpected:
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenExprLambdaTests.cs (6)
3463Diagnostic(ErrorCode.ERR_EOFExpected, "=>").WithLocation(2, 76), 3466Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 81), 3475Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(2, 95), 3510Diagnostic(ErrorCode.ERR_EOFExpected, "=>").WithLocation(2, 76), 3513Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 81), 3522Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(2, 95),
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (2)
PartialEventsAndConstructorsTests.cs (1)
60Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)
Semantics\RecordTests.cs (1)
8917Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
IOperation\IOperationTests_IArgument.cs (1)
2765Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(16, 1),
IOperation\IOperationTests_IObjectCreationExpression.cs (2)
5239Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 5), 5242Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1),
IOperation\IOperationTests_ISwitchOperation.cs (1)
1632Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
Semantics\LambdaTests.cs (2)
3825Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 16), 3828Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(6, 17));
Semantics\ObjectAndCollectionInitializerTests.cs (2)
2937Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1), 3200Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(11, 1)
Semantics\RecordStructTests.cs (2)
7158Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(14, 1) 9863Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1)
Semantics\RefFieldTests.cs (1)
22011Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)
Semantics\SemanticErrorTests.cs (4)
2776new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 4, Column = 5 }, 2778new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 4, Column = 14 }, 2780new ErrorDescription { Code = (int)ErrorCode.ERR_EOFExpected, Line = 6, Column = 9 }, 2820Diagnostic(ErrorCode.ERR_EOFExpected, "}"),
Semantics\SimpleLambdaParametersWithModifiersTests.cs (2)
1260Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(9, 1)); 1303Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(9, 1));
Semantics\TopLevelStatementsTests.cs (2)
676Diagnostic(ErrorCode.ERR_EOFExpected, @"""Hi!""").WithLocation(4, 30) 9621Diagnostic(ErrorCode.ERR_EOFExpected, "42").WithLocation(3, 22)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Symbols\AssemblyAndNamespaceTests.cs (1)
631Diagnostic(ErrorCode.ERR_EOFExpected, ";").WithLocation(3, 27));
Symbols\LocalFunctionTests.cs (2)
165Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(7, 1)); 191Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(7, 1));
Symbols\PartialPropertiesTests.cs (1)
5168Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 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 (71)
IncrementalParsing\IncrementalParsingTests.cs (2)
666Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(17, 5), 669Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(18, 1));
LexicalAndXml\LexicalErrorTests.cs (6)
180Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(4, 5), 183Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1)); 213Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(4, 5), 216Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1)); 249Diagnostic(ErrorCode.ERR_EOFExpected, "{").WithLocation(4, 5), 252Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(6, 1));
Parsing\CollectionExpressionParsingTests.cs (3)
252Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(1, 8), 517Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(1, 8), 1082Diagnostic(ErrorCode.ERR_EOFExpected, ".").WithLocation(2, 4));
Parsing\DeclarationParsingTests.cs (4)
8541Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(2, 13), 8566Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 8577Diagnostic(ErrorCode.ERR_EOFExpected, ":").WithLocation(2, 13), 8594Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1));
Parsing\DeclarationScopeParsingTests.cs (3)
5805Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 26), 12340Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 22) 13490Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 27)
Parsing\ExtensionsParsingTests.cs (4)
1878Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 1952Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 2017Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 3206Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1));
Parsing\LambdaAttributeParsingTests.cs (2)
3681Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(2, 14), 3687Diagnostic(ErrorCode.ERR_EOFExpected, ")").WithLocation(2, 15));
Parsing\LambdaParameterParsingTests.cs (1)
5477Diagnostic(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\MemberDeclarationParsingTests.cs (4)
11295Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(24, 5), 11298Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(25, 1)); 11954Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1)); 12017Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(10, 1));
Parsing\ParserErrorMessageTests.cs (10)
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, "}")); 3833Diagnostic(ErrorCode.ERR_EOFExpected, ".").WithLocation(1, 15), 3850Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(4, 1)); 5427Diagnostic(ErrorCode.ERR_EOFExpected, "}")
Parsing\ParsingErrorRecoveryTests.cs (10)
77Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(12, 5), 86Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(18, 1)); 545Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 559Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 560Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[1].Code); 797Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 811Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 825Assert.Equal((int)ErrorCode.ERR_EOFExpected, file.Errors()[0].Code); 5565Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(1, 79)); 5702Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(1, 69));
Parsing\PartialEventsAndConstructorsParsingTests.cs (1)
1185Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(7, 1));
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)
2549Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1)); 2640Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(13, 1)); 6881Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1)); 6948Diagnostic(ErrorCode.ERR_EOFExpected, "}").WithLocation(8, 1));
Parsing\TopLevelStatementsParsingTests.cs (6)
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),