1 write to CatchBlocks
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4231this.CatchBlocks = catchBlocks;
21 references to CatchBlocks
Microsoft.CodeAnalysis.CSharp (21)
BoundTree\BoundNode_Source.cs (1)
33var catchBlocks = tryStatement.CatchBlocks;
CodeGen\EmitStatement.cs (3)
924Debug.Assert(!statement.CatchBlocks.IsDefault); 933(statement.CatchBlocks.Length > 0) && 959foreach (var catchBlock in statement.CatchBlocks)
CodeGen\Optimizer.cs (1)
1673var catchBlocks = this.VisitList(node.CatchBlocks);
FlowAnalysis\AbstractFlowPass.cs (1)
1827foreach (var catchBlock in node.CatchBlocks)
FlowAnalysis\ControlFlowPass.cs (1)
276if (node.CatchBlocks.IsEmpty)
Generated\BoundNodes.xml.Generated.cs (4)
4248if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler) 10252this.VisitList(node.CatchBlocks); 11465ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.CatchBlocks); 15960new TreeDumperNode("catchBlocks", null, from x in node.CatchBlocks select Visit(x, null)),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
171return asTry.Update(asTry.TryBlock, asTry.CatchBlocks, rewrittenFinally, asTry.FinallyLabelOpt, asTry.PreferFaultHandler); 465var catches = node.CatchBlocks; 474var rewrittenCatches = node.CatchBlocks.SelectAsArray(static (catchBlock, arg) => 810VisitList(node.CatchBlocks);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
383node.CatchBlocks, node.FinallyBlockOpt, node.FinallyLabelOpt, node.PreferFaultHandler);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
374VisitList(node.CatchBlocks), 383Debug.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)
899ImmutableArray<BoundCatchBlock> catchBlocks = this.VisitList(node.CatchBlocks);
Operations\CSharpOperationFactory.cs (1)
1998ImmutableArray<ICatchClauseOperation> catches = CreateFromArray<BoundCatchBlock, ICatchClauseOperation>(boundTryStatement.CatchBlocks);