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