1 write to CatchBlocks
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4230
this.
CatchBlocks
= catchBlocks;
21 references to CatchBlocks
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\BoundNode_Source.cs (1)
33
var catchBlocks = tryStatement.
CatchBlocks
;
CodeGen\EmitStatement.cs (3)
924
Debug.Assert(!statement.
CatchBlocks
.IsDefault);
933
(statement.
CatchBlocks
.Length > 0) &&
959
foreach (var catchBlock in statement.
CatchBlocks
)
CodeGen\Optimizer.cs (1)
1673
var catchBlocks = this.VisitList(node.
CatchBlocks
);
FlowAnalysis\AbstractFlowPass.cs (1)
1827
foreach (var catchBlock in node.
CatchBlocks
)
FlowAnalysis\ControlFlowPass.cs (1)
276
if (node.
CatchBlocks
.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (4)
4247
if (tryBlock != this.TryBlock || catchBlocks != this.
CatchBlocks
|| finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
10215
this.VisitList(node.
CatchBlocks
);
11428
ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.
CatchBlocks
);
15923
new TreeDumperNode("catchBlocks", null, from x in node.
CatchBlocks
select Visit(x, null)),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
171
return asTry.Update(asTry.TryBlock, asTry.
CatchBlocks
, rewrittenFinally, asTry.FinallyLabelOpt, asTry.PreferFaultHandler);
465
var catches = node.
CatchBlocks
;
474
var rewrittenCatches = node.
CatchBlocks
.SelectAsArray(static (catchBlock, arg) =>
810
VisitList(node.
CatchBlocks
);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
356
node.
CatchBlocks
, node.FinallyBlockOpt, node.FinallyLabelOpt, node.PreferFaultHandler);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
366
VisitList(node.
CatchBlocks
),
375
Debug.Assert(node.
CatchBlocks
.IsEmpty, "try with yields must have no catches");
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
26
: this.VisitList(node.
CatchBlocks
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
881
ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.
CatchBlocks
);
Operations\CSharpOperationFactory.cs (1)
1998
ImmutableArray<ICatchClauseOperation> catches = CreateFromArray<BoundCatchBlock, ICatchClauseOperation>(boundTryStatement.
CatchBlocks
);