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