4 references to ERR_KeywordNotAllowedInScript
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Expressions.vb (1)
2260
errorId = ERRID.
ERR_KeywordNotAllowedInScript
Binding\Binder_Statements.vb (2)
5013
ReportDiagnostic(diagnostics, originalSyntax, ERRID.
ERR_KeywordNotAllowedInScript
, SyntaxFacts.GetText(SyntaxKind.ReturnKeyword))
5140
ReportDiagnostic(diagnostics, originalSyntax, ERRID.
ERR_KeywordNotAllowedInScript
, SyntaxFacts.GetText(SyntaxKind.YieldKeyword))
Errors\ErrorFacts.vb (1)
1222
ERRID.
ERR_KeywordNotAllowedInScript
,