1 write to CatchBlocks
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4119
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)
899
Debug.Assert(!statement.
CatchBlocks
.IsDefault);
908
(statement.
CatchBlocks
.Length > 0) &&
934
foreach (var catchBlock in statement.
CatchBlocks
)
CodeGen\Optimizer.cs (1)
1606
var catchBlocks = this.VisitList(node.
CatchBlocks
);
FlowAnalysis\AbstractFlowPass.cs (1)
1686
foreach (var catchBlock in node.
CatchBlocks
)
FlowAnalysis\ControlFlowPass.cs (1)
276
if (node.
CatchBlocks
.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (4)
4136
if (tryBlock != this.TryBlock || catchBlocks != this.
CatchBlocks
|| finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
9858
this.VisitList(node.
CatchBlocks
);
11033
ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.
CatchBlocks
);
15363
new TreeDumperNode("catchBlocks", null, from x in node.
CatchBlocks
select Visit(x, null)),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
159
return asTry.Update(asTry.TryBlock, asTry.
CatchBlocks
, rewrittenFinally, asTry.FinallyLabelOpt, asTry.PreferFaultHandler);
452
var catches = node.
CatchBlocks
;
461
var rewrittenCatches = this.VisitList(node.
CatchBlocks
);
777
VisitList(node.
CatchBlocks
);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
355
node.
CatchBlocks
, node.FinallyBlockOpt, node.FinallyLabelOpt, node.PreferFaultHandler);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
373
VisitList(node.
CatchBlocks
),
382
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)
862
ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.
CatchBlocks
);
Operations\CSharpOperationFactory.cs (1)
1887
ImmutableArray<ICatchClauseOperation> catches = CreateFromArray<BoundCatchBlock, ICatchClauseOperation>(boundTryStatement.
CatchBlocks
);