6 references to ERR_SubRequiresSingleStatement
Microsoft.CodeAnalysis.VisualBasic (3)
Errors\ErrorFacts.vb (1)
1180ERRID.ERR_SubRequiresSingleStatement,
Parser\BlockContexts\SingleLineLambdaContext.vb (2)
48lambdaExpr = Parser.ReportSyntaxError(lambdaExpr, ERRID.ERR_SubRequiresSingleStatement) 81_statements(0) = Parser.ReportSyntaxError(_statements(0), ERRID.ERR_SubRequiresSingleStatement)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (3)
Parser\ParseErrorTests.vb (1)
459Diagnostic(ERRID.ERR_SubRequiresSingleStatement, "Sub()"))
Parser\ParseExpression.vb (1)
1083Diagnostic(ERRID.ERR_SubRequiresSingleStatement, "sub () select case 0 : case 0 : end select"))
Parser\ParseStatements.vb (1)
4766Diagnostic(ERRID.ERR_SubRequiresSingleStatement, "Sub() "),