45 references to BoundReturnStatement
Microsoft.CodeAnalysis.VisualBasic (37)
Analysis\InitializerRewriter.vb (1)
230boundStatements.Add(New BoundReturnStatement(submissionResult.Syntax, submissionResult, method.FunctionLocal, method.ExitLabel))
Binding\Binder_Delegates.vb (2)
1230boundStatement = New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing) 1269Dim returnstmt As BoundStatement = New BoundReturnStatement(syntaxNode,
Binding\Binder_Lambda.vb (3)
461Dim boundReturn = New BoundReturnStatement(expression.Syntax, 523Dim returnStmt = New BoundReturnStatement(endSyntax, boundLocal, Nothing, Nothing) 537Dim returnStmt = New BoundReturnStatement(endSyntax, Nothing, Nothing, Nothing)
Binding\Binder_Statements.vb (8)
408statements.Add(New BoundReturnStatement(methodBlock.EndBlockStatement, 412statements.Add(New BoundReturnStatement(methodBlock.EndBlockStatement, Nothing, Nothing, Nothing)) 4983Return New BoundReturnStatement(originalSyntax, Nothing, Nothing, returnLabel, hasErrors:=True) 4996Return New BoundReturnStatement(originalSyntax, arg, Nothing, returnLabel, hasErrors:=True) 4999Return New BoundReturnStatement(originalSyntax, Nothing, Nothing, returnLabel) 5046Return New BoundReturnStatement(originalSyntax, arg, GetLocalForFunctionValue(), returnLabel) 5052Return New BoundReturnStatement(originalSyntax, Nothing, Nothing, returnLabel, hasErrors:=False) 5055Return New BoundReturnStatement(originalSyntax, Nothing, Nothing, returnLabel, hasErrors:=True)
Binding\SyntheticBoundTrees\AnonymousTypeSyntheticMethods.vb (5)
46statements.Add(New BoundReturnStatement(syntax, Nothing, Nothing, Nothing).MakeCompilerGenerated()) 80New BoundReturnStatement(syntax, boundCallToEquals, Nothing, Nothing).MakeCompilerGenerated())) 179New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated())) 226New BoundReturnStatement(syntax, finalEqualityCheck, Nothing, Nothing).MakeCompilerGenerated())) 386New BoundReturnStatement(syntax, [call], Nothing, Nothing).MakeCompilerGenerated()))
Binding\SyntheticBoundTrees\SynthesizedConstructorSymbol.vb (1)
17Dim returnStmt = New BoundReturnStatement(Me.Syntax, Nothing, Nothing, Nothing)
Binding\SyntheticBoundTrees\SynthesizedPropertyAccessorBase.vb (2)
83statements.Add(New BoundReturnStatement(syntax, returnValue, local, exitLabel).MakeCompilerGenerated()) 363statements.Add((New BoundReturnStatement(syntax, returnLocal, Nothing, Nothing)).MakeCompilerGenerated())
Generated\BoundNodes.xml.Generated.vb (1)
2804Dim result = New BoundReturnStatement(Me.Syntax, expressionOpt, functionLocalOpt, exitLabelOpt, Me.HasErrors)
Lowering\LambdaRewriter\LambdaRewriter.vb (1)
471builder.Add(New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing))
Lowering\LocalRewriter\LocalRewriter_LateAddressOf.vb (2)
112boundStatement = New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing) 123Dim returnstmt As BoundStatement = New BoundReturnStatement(syntaxNode,
Lowering\LocalRewriter\LocalRewriter_Query.vb (1)
185Return New BoundReturnStatement(originalNode.Syntax,
Lowering\MethodToClassRewriter\MethodToClassRewriter.MyBaseMyClassWrapper.vb (2)
119DirectCast(New BoundReturnStatement(syntax, boundCall, Nothing, Nothing), BoundStatement), 123New BoundReturnStatement(syntax, Nothing, Nothing, Nothing))))
Lowering\SyntheticBoundNodeFactory.vb (1)
362Dim boundNode = New BoundReturnStatement(_syntax, expression, Nothing, Nothing)
Symbols\Source\SynthesizedEntryPointSymbol.vb (2)
298Dim returnStatement = New BoundReturnStatement( 375Dim returnStatement = New BoundReturnStatement(
Symbols\Source\SynthesizedEventAccessorSymbol.vb (3)
228Dim returnStatement = New BoundReturnStatement(syntax, processHandlerCall, functionLocalOpt:=Nothing, exitLabelOpt:=Nothing) 240Dim returnStatement = New BoundReturnStatement(syntax, expressionOpt:=Nothing, functionLocalOpt:=Nothing, exitLabelOpt:=Nothing) 290Dim [return] As BoundStatement = New BoundReturnStatement(syntax,
Symbols\Source\SynthesizedMainTypeEntryPoint.vb (1)
82Return New BoundBlock(syntaxNode, Nothing, ImmutableArray(Of LocalSymbol).Empty, ImmutableArray.Create(statement, New BoundReturnStatement(syntaxNode, Nothing, Nothing, Nothing)))
Symbols\Source\SynthesizedSubmissionConstructorSymbol.vb (1)
52ImmutableArray.Create(Of BoundStatement)(New BoundReturnStatement(node, Nothing, Nothing, Nothing)))
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (8)
CompilationContext.vb (6)
258Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated() 445Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated() 459Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated() 472Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated() 486Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated() 523Return New BoundReturnStatement(syntax, expression, Nothing, Nothing).MakeCompilerGenerated()
Symbols\EEConstructorSymbol.vb (1)
24New BoundReturnStatement(Me.Syntax, Nothing, Nothing, Nothing)))
Symbols\EEMethodSymbol.vb (1)
474statementsBuilder.Add(New BoundReturnStatement(syntax, Nothing, Nothing, Nothing))