4 instantiations of BoundCatchBlock
Microsoft.CodeAnalysis.VisualBasic (4)
Binding\Binder_Statements.vb (1)
4864Return New BoundCatchBlock(node, catchLocal, exceptionSource,
Generated\BoundNodes.xml.Generated.vb (1)
5870Dim result = New BoundCatchBlock(Me.Syntax, localOpt, exceptionSourceOpt, errorLineNumberOpt, exceptionFilterOpt, body, isSynthesizedAsyncCatchAll, Me.HasErrors)
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (1)
259ImmutableArray.Create(New BoundCatchBlock(
Lowering\SyntheticBoundNodeFactory.vb (1)
1070Return New BoundCatchBlock(Syntax, local, Me.Local(local, False), Nothing, Nothing, block,
60 references to BoundCatchBlock
Microsoft.CodeAnalysis.VisualBasic (60)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2073Protected Overridable Overloads Sub VisitCatchBlock(catchBlock As BoundCatchBlock, ByRef finallyState As LocalState)
Analysis\FlowAnalysis\ControlFlowPass.vb (1)
135Protected Overrides Sub VisitCatchBlock(node As BoundCatchBlock, ByRef finallyState As LocalState)
Analysis\FlowAnalysis\DataFlowPass.vb (2)
1463Protected Overrides Sub VisitCatchBlock(catchBlock As BoundCatchBlock, ByRef finallyState As LocalState) 1484Private Sub VisitCatchBlockInternal(catchBlock As BoundCatchBlock, ByRef finallyState As LocalState)
Analysis\FlowAnalysis\VariablesDeclaredWalker.vb (1)
82Protected Overrides Sub VisitCatchBlock(catchBlock As BoundCatchBlock, ByRef finallyState As LocalState)
Binding\Binder_Statements.vb (8)
591Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 4716Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = BindCatchBlocks(node.CatchBlocks, diagnostics) 4734Public Function BindCatchBlocks(catchClauses As SyntaxList(Of CatchBlockSyntax), diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundCatchBlock) 4737Return ImmutableArray(Of BoundCatchBlock).Empty 4740Dim catchBlocks = ArrayBuilder(Of BoundCatchBlock).GetInstance(n) 4744Dim catchBlock As BoundCatchBlock = catchBinder.BindCatchBlock(catchSyntax, catchBlocks, diagnostics) 4751Private Function BindCatchBlock(node As CatchBlockSyntax, previousBlocks As ArrayBuilder(Of BoundCatchBlock), diagnostics As BindingDiagnosticBag) As BoundCatchBlock
BoundTree\BoundTreeVisitor.vb (1)
92Return VisitCatchBlock(CType(node, BoundCatchBlock), arg)
CodeGen\CodeGenerator.vb (1)
30Private _currentCatchBlock As BoundCatchBlock = Nothing
CodeGen\EmitStatement.vb (1)
189Private Sub EmitCatchBlock(catchBlock As BoundCatchBlock)
CodeGen\Optimizer\StackScheduler.Analyzer.vb (2)
1081Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = Me.VisitList(node.CatchBlocks) 1096Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode
Generated\BoundNodes.xml.Generated.vb (12)
5748Public Sub New(syntax As SyntaxNode, tryBlock As BoundBlock, catchBlocks As ImmutableArray(Of BoundCatchBlock), finallyBlockOpt As BoundBlock, exitLabelOpt As LabelSymbol, Optional hasErrors As Boolean = False) 5768Private ReadOnly _CatchBlocks As ImmutableArray(Of BoundCatchBlock) 5769Public ReadOnly Property CatchBlocks As ImmutableArray(Of BoundCatchBlock) 5794Public Function Update(tryBlock As BoundBlock, catchBlocks As ImmutableArray(Of BoundCatchBlock), finallyBlockOpt As BoundBlock, exitLabelOpt As LabelSymbol) As BoundTryStatement 5868Public Function Update(localOpt As LocalSymbol, exceptionSourceOpt As BoundExpression, errorLineNumberOpt As BoundExpression, exceptionFilterOpt As BoundExpression, body As BoundBlock, isSynthesizedAsyncCatchAll As Boolean) As BoundCatchBlock 9521Return VisitCatchBlock(CType(node, BoundCatchBlock), arg) 10089Public Overridable Function VisitCatchBlock(node As BoundCatchBlock, arg As A) As R 10792Public Overridable Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 11647Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 12670Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = Me.VisitList(node.CatchBlocks) 12675Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 14005Public Overrides Function VisitCatchBlock(node As BoundCatchBlock, arg As Object) As TreeDumperNode
Lowering\Instrumentation\CompoundInstrumenter.vb (2)
179Public Overrides Function InstrumentCatchBlockFilter(original As BoundCatchBlock, rewrittenFilter As BoundExpression, currentMethodOrLambda As MethodSymbol) As BoundExpression 183Public Overrides Function CreateCatchBlockPrologue(original As BoundCatchBlock) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector.vb (2)
281Public Overrides Function InstrumentCatchBlockFilter(original As BoundCatchBlock, rewrittenFilter As BoundExpression, currentMethodOrLambda As MethodSymbol) As BoundExpression 318Public Overrides Function CreateCatchBlockPrologue(original As BoundCatchBlock) As BoundStatement
Lowering\Instrumentation\DebugInfoInjector_SequencePoints.vb (1)
12Friend Shared Function AddConditionSequencePoint(condition As BoundExpression, containingCatchWithFilter As BoundCatchBlock, currentMethodOrLambda As MethodSymbol) As BoundExpression
Lowering\Instrumentation\Instrumenter.vb (2)
261Public Overridable Function InstrumentCatchBlockFilter(original As BoundCatchBlock, rewrittenFilter As BoundExpression, currentMethodOrLambda As MethodSymbol) As BoundExpression 274Public Overridable Function CreateCatchBlockPrologue(original As BoundCatchBlock) As BoundStatement
Lowering\LambdaRewriter\LambdaRewriter.Analysis.vb (1)
272Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode
Lowering\LambdaRewriter\LambdaRewriter.vb (3)
758Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 772Private Function RewriteCatch(node As BoundCatchBlock, 774newLocals As ArrayBuilder(Of LocalSymbol)) As BoundCatchBlock
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
661ImmutableArray(Of BoundCatchBlock).Empty,
Lowering\LocalRewriter\LocalRewriter_LocalDeclaration.vb (1)
330Dim tryFinally = New BoundTryStatement(syntax, tryBody, ImmutableArray(Of BoundCatchBlock).Empty, finallyBody, Nothing)
Lowering\LocalRewriter\LocalRewriter_SyncLock.vb (1)
145Dim rewrittenSyncLock = RewriteTryStatement(syntaxNode, tryBody, ImmutableArray(Of BoundCatchBlock).Empty, finallyBody, Nothing)
Lowering\LocalRewriter\LocalRewriter_Try.vb (4)
70catchBlocks As ImmutableArray(Of BoundCatchBlock), 78catchBlocks = ImmutableArray(Of BoundCatchBlock).Empty 142Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 184Private Sub ReportErrorsOnCatchBlockHelpers(node As BoundCatchBlock)
Lowering\LocalRewriter\LocalRewriter_Using.vb (1)
256Dim tryFinally = RewriteTryStatement(resourceSyntax, newBody, ImmutableArray(Of BoundCatchBlock).Empty, finallyBlock, exitLabelOpt:=Nothing)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
345Public MustOverride Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode
Lowering\StateMachineRewriter\StateMachineRewriter.StateMachineMethodToClassRewriter.vb (2)
384Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = Me.VisitList(node.CatchBlocks) 437Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode
Lowering\SyntheticBoundNodeFactory.vb (4)
1056catchBlocks As ImmutableArray(Of BoundCatchBlock), 1063Public Function CatchBlocks(ParamArray blocks() As BoundCatchBlock) As ImmutableArray(Of BoundCatchBlock) 1067Public Function [Catch](local As LocalSymbol, block As BoundBlock, Optional isSynthesizedAsyncCatchAll As Boolean = False) As BoundCatchBlock
Operations\VisualBasicOperationFactory.vb (4)
180Return CreateBoundCatchBlockOperation(DirectCast(boundNode, BoundCatchBlock)) 1263Dim catches As ImmutableArray(Of ICatchClauseOperation) = CreateFromArray(Of BoundCatchBlock, ICatchClauseOperation)(boundTryStatement.CatchBlocks) 1271Friend Function CreateBoundCatchBlockExceptionDeclarationOrExpression(boundCatchBlock As BoundCatchBlock) As IOperation 1281Private Function CreateBoundCatchBlockOperation(boundCatchBlock As BoundCatchBlock) As ICatchClauseOperation