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