8 references to ReturnStatement
Microsoft.CodeAnalysis.VisualBasic (3)
Generated\Syntax.xml.Main.Generated.vb (2)
13923
Return SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), expression)
13931
Return SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), Nothing)
Generated\Syntax.xml.Syntax.Generated.vb (1)
14164
Dim newNode = SyntaxFactory.
ReturnStatement
(returnKeyword, expression)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
EndConstructGeneration\EndConstructStatementVisitor_LambdaHeader.vb (1)
85
Dim newBody = SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword).WithTrailingTrivia(SyntaxFactory.WhitespaceTrivia(" ")),
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.vb (2)
12311
SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ExternalSourceKeyword), Nothing)
12318
return SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword), Nothing)
TestSyntaxNodes.vb (2)
402
Dim stmt1 = SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword, trailing:=_spaceTrivia), CreateIntegerLiteral(5))
403
Dim stmt2 = SyntaxFactory.
ReturnStatement
(SyntaxFactory.Token(SyntaxKind.ReturnKeyword, trailing:=_spaceTrivia), CreateIntegerLiteral(178))