18 references to FinallyBlockOpt
Microsoft.CodeAnalysis.VisualBasic (18)
Analysis\FlowAnalysis\AbstractFlowPass.vb (2)
2040
If node.
FinallyBlockOpt
IsNot Nothing Then
2046
VisitFinallyBlock(node.
FinallyBlockOpt
, unsetInFinally)
Binding\Binder_Lambda.vb (1)
616
Visit(node.
FinallyBlockOpt
)
Binding\Binder_Statements.vb (1)
537
Visit(node.
FinallyBlockOpt
)
CodeGen\EmitStatement.vb (3)
125
Dim emitNestedScopes As Boolean = (Not emitCatchesOnly AndAlso (statement.CatchBlocks.Length > 0) AndAlso (statement.
FinallyBlockOpt
IsNot Nothing))
149
If Not emitCatchesOnly AndAlso (statement.
FinallyBlockOpt
IsNot Nothing) Then
151
EmitBlock(statement.
FinallyBlockOpt
)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (1)
1084
Dim finallyBlock = DirectCast(Me.Visit(node.
FinallyBlockOpt
), BoundBlock)
Generated\BoundNodes.xml.Generated.vb (4)
5814
If tryBlock IsNot Me.TryBlock OrElse catchBlocks <> Me.CatchBlocks OrElse finallyBlockOpt IsNot Me.
FinallyBlockOpt
OrElse exitLabelOpt IsNot Me.ExitLabelOpt Then
11677
Me.Visit(node.
FinallyBlockOpt
)
12705
Dim finallyBlockOpt As BoundBlock = DirectCast(Me.Visit(node.
FinallyBlockOpt
), BoundBlock)
14037
New TreeDumperNode("finallyBlockOpt", Nothing, new TreeDumperNode() {Visit(node.
FinallyBlockOpt
, Nothing)}),
Lowering\Instrumentation\DebugInfoInjector.vb (1)
323
Return New BoundSequencePoint(DirectCast(original.
FinallyBlockOpt
.Syntax, FinallyBlockSyntax).FinallyStatement, MyBase.CreateFinallyBlockPrologue(original))
Lowering\Instrumentation\Instrumenter.vb (2)
287
Debug.Assert(original.
FinallyBlockOpt
IsNot Nothing)
288
Debug.Assert(original.
FinallyBlockOpt
.Syntax.Kind = SyntaxKind.FinallyBlock)
Lowering\LocalRewriter\LocalRewriter_Try.vb (1)
108
Dim node As BoundBlock = tryStatement.
FinallyBlockOpt
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (2)
386
Dim finallyBlockOpt As BoundBlock = If(node.
FinallyBlockOpt
Is Nothing, Nothing,
393
thenClause:=DirectCast(Me.Visit(node.
FinallyBlockOpt
), BoundBlock)),