32 references to BoundReturnStatement
Microsoft.CodeAnalysis.VisualBasic (32)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
468Return If(gotoOnly, Nothing, DirectCast(branch, BoundReturnStatement).ExitLabelOpt) 1515Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode
Analysis\FlowAnalysis\ControlFlowPass.vb (1)
97Dim returnStmt = TryCast(statement, BoundReturnStatement)
Analysis\FlowAnalysis\DataFlowPass.vb (1)
1987Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode
Binding\Binder_Lambda.vb (2)
364Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 1053Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode
BoundTree\BoundTreeVisitor.vb (1)
58Return VisitReturnStatement(CType(node, BoundReturnStatement), arg)
CodeGen\EmitStatement.vb (2)
43EmitReturnStatement(DirectCast(statement, BoundReturnStatement)) 899Private Sub EmitReturnStatement(boundReturnStatement As BoundReturnStatement)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1148Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode
Generated\BoundNodes.xml.Generated.vb (7)
2821Public Function Update(expressionOpt As BoundExpression, functionLocalOpt As LocalSymbol, exitLabelOpt As LabelSymbol) As BoundReturnStatement 9445Return VisitReturnStatement(CType(node, BoundReturnStatement), arg) 9903Public Overridable Function VisitReturnStatement(node As BoundReturnStatement, arg As A) As R 10606Public Overridable Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 11360Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 12357Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 13559Public Overrides Function VisitReturnStatement(node As BoundReturnStatement, arg As Object) As TreeDumperNode
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Statements.vb (2)
22Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 23Dim rewritten = DirectCast(MyBase.VisitReturnStatement(node), BoundReturnStatement)
Lowering\Diagnostics\DiagnosticsPass_ExpressionLambdas.vb (2)
215DirectCast(block.Statements(1), BoundReturnStatement).ExpressionOpt Is Nothing) OrElse 224If (DirectCast(stmt, BoundReturnStatement)).ExpressionOpt IsNot Nothing Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (2)
141DirectCast(block.Statements(1), BoundReturnStatement).ExpressionOpt Is Nothing) OrElse 157Dim expression As BoundExpression = (DirectCast(stmt, BoundReturnStatement)).ExpressionOpt
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
338Public Overrides Function InstrumentReturnStatement(original As BoundReturnStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\CompoundInstrumenter.vb (1)
63Public Overrides Function InstrumentReturnStatement(original As BoundReturnStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (1)
68Public Overrides Function InstrumentReturnStatement(original As BoundReturnStatement, rewritten As BoundStatement) As BoundStatement
Lowering\Instrumentation\Instrumenter.vb (1)
71Public Overridable Function InstrumentReturnStatement(original As BoundReturnStatement, rewritten As BoundStatement) As BoundStatement
Lowering\IteratorRewriter\IteratorRewriter.IteratorMethodToClassRewriter.vb (1)
181Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode
Lowering\LocalRewriter\LocalRewriter_Return.vb (3)
15Public Overrides Function VisitReturnStatement(node As BoundReturnStatement) As BoundNode 37Private Function RewriteReturnStatement(node As BoundReturnStatement) As BoundStatement 38node = DirectCast(MyBase.VisitReturnStatement(node), BoundReturnStatement)
Lowering\SyntheticBoundNodeFactory.vb (1)
353Public Function [Return](Optional expression As BoundExpression = Nothing) As BoundReturnStatement