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