112 references to ERR_EOFExpected
Microsoft.CodeAnalysis.CSharp (4)
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)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (15)
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, "}"),
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (10)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (71)
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\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\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\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\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),