56 references to BoundCatchBlock
Microsoft.CodeAnalysis.VisualBasic (56)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
2089Protected 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)
1469Protected Overrides Sub VisitCatchBlock(catchBlock As BoundCatchBlock, ByRef finallyState As LocalState) 1490Private 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)
622Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 4747Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = BindCatchBlocks(node.CatchBlocks, diagnostics) 4765Public Function BindCatchBlocks(catchClauses As SyntaxList(Of CatchBlockSyntax), diagnostics As BindingDiagnosticBag) As ImmutableArray(Of BoundCatchBlock) 4768Return ImmutableArray(Of BoundCatchBlock).Empty 4771Dim catchBlocks = ArrayBuilder(Of BoundCatchBlock).GetInstance(n) 4775Dim catchBlock As BoundCatchBlock = catchBinder.BindCatchBlock(catchSyntax, catchBlocks, diagnostics) 4782Private 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)
5767Public Sub New(syntax As SyntaxNode, tryBlock As BoundBlock, catchBlocks As ImmutableArray(Of BoundCatchBlock), finallyBlockOpt As BoundBlock, exitLabelOpt As LabelSymbol, Optional hasErrors As Boolean = False) 5787Private ReadOnly _CatchBlocks As ImmutableArray(Of BoundCatchBlock) 5788Public ReadOnly Property CatchBlocks As ImmutableArray(Of BoundCatchBlock) 5813Public Function Update(tryBlock As BoundBlock, catchBlocks As ImmutableArray(Of BoundCatchBlock), finallyBlockOpt As BoundBlock, exitLabelOpt As LabelSymbol) As BoundTryStatement 5887Public Function Update(localOpt As LocalSymbol, exceptionSourceOpt As BoundExpression, errorLineNumberOpt As BoundExpression, exceptionFilterOpt As BoundExpression, body As BoundBlock, isSynthesizedAsyncCatchAll As Boolean) As BoundCatchBlock 9555Return VisitCatchBlock(CType(node, BoundCatchBlock), arg) 10123Public Overridable Function VisitCatchBlock(node As BoundCatchBlock, arg As A) As R 10826Public Overridable Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 11681Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 12704Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = Me.VisitList(node.CatchBlocks) 12709Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 14042Public 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)
778Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode 792Private Function RewriteCatch(node As BoundCatchBlock, 794newLocals 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)
385Dim catchBlocks As ImmutableArray(Of BoundCatchBlock) = Me.VisitList(node.CatchBlocks) 438Public Overrides Function VisitCatchBlock(node As BoundCatchBlock) As BoundNode
Lowering\SyntheticBoundNodeFactory.vb (4)
1090catchBlocks As ImmutableArray(Of BoundCatchBlock), 1097Public Function CatchBlocks(ParamArray blocks() As BoundCatchBlock) As ImmutableArray(Of BoundCatchBlock) 1101Public Function [Catch](local As LocalSymbol, block As BoundBlock, Optional isSynthesizedAsyncCatchAll As Boolean = False) As BoundCatchBlock