9 references to ERR_GlobalDefinitionOrStatementExpected
Microsoft.CodeAnalysis.CSharp (4)
Errors\ErrorFacts.cs (1)
1592or ErrorCode.ERR_GlobalDefinitionOrStatementExpected
Parser\LanguageParser.cs (2)
617IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected); 734IsScript ? ErrorCode.ERR_GlobalDefinitionOrStatementExpected : ErrorCode.ERR_EOFExpected);
Syntax\SyntaxFactory.cs (1)
2413case ErrorCode.ERR_GlobalDefinitionOrStatementExpected:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Parsing\ScriptParsingTests.cs (5)
99Diagnostic(ErrorCode.ERR_GlobalDefinitionOrStatementExpected, "in").WithLocation(2, 5)); 9697Diagnostic(ErrorCode.ERR_GlobalDefinitionOrStatementExpected, ",").WithLocation(1, 6), 9811Diagnostic(ErrorCode.ERR_GlobalDefinitionOrStatementExpected, ")").WithLocation(2, 6)); 9868Diagnostic(ErrorCode.ERR_GlobalDefinitionOrStatementExpected, "]").WithLocation(2, 6)); 9925Diagnostic(ErrorCode.ERR_GlobalDefinitionOrStatementExpected, "}").WithLocation(2, 6));