15 references to ReturnKeyword
Microsoft.CodeAnalysis.VisualBasic (15)
Binding\Binder_Statements.vb (1)
5013ReportDiagnostic(diagnostics, originalSyntax, ERRID.ERR_KeywordNotAllowedInScript, SyntaxFacts.GetText(SyntaxKind.ReturnKeyword))
Generated\Syntax.xml.Internal.Generated.vb (2)
38469Debug.Assert(returnKeyword IsNot Nothing AndAlso returnKeyword.Kind = SyntaxKind.ReturnKeyword) 50535Debug.Assert(returnKeyword IsNot Nothing AndAlso returnKeyword.Kind = SyntaxKind.ReturnKeyword)
Generated\Syntax.xml.Main.Generated.vb (5)
13908Case SyntaxKind.ReturnKeyword 13923Return SyntaxFactory.ReturnStatement(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), expression) 13931Return SyntaxFactory.ReturnStatement(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), Nothing) 45111SyntaxKind.ReturnKeyword, 45588Case SyntaxKind.ReturnKeyword
Parser\Parser.vb (1)
973Case SyntaxKind.ReturnKeyword
Parser\ParseStatement.vb (2)
219statement = SyntaxFactory.ReturnStatement(InternalSyntaxFactory.MissingKeyword(SyntaxKind.ReturnKeyword), Nothing) 1725Debug.Assert(CurrentToken.Kind = SyntaxKind.ReturnKeyword, "ParseReturnStatement called on wrong token.")
Scanner\KeywordTable.vb (1)
141SyntaxKind.ReturnKeyword, None,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
277SyntaxKind.ReturnKeyword,
Syntax\SyntaxKindFacts.vb (1)
199SyntaxKind.ReturnKeyword,
Syntax\SyntaxNodeFactories.vb (1)
577SyntaxKind.ReturnKeyword,