1 write to TryBlock
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4229this.TryBlock = tryBlock;
17 references to TryBlock
Microsoft.CodeAnalysis.CSharp (17)
BoundTree\BoundNode_Source.cs (1)
31appendSource(tryStatement.TryBlock);
CodeGen\EmitStatement.cs (1)
950EmitBlock(statement.TryBlock);
CodeGen\Optimizer.cs (1)
1671var tryBlock = (BoundBlock)this.Visit(node.TryBlock);
FlowAnalysis\AbstractFlowPass.cs (1)
1824VisitTryBlockWithAnyTransferFunction(node.TryBlock, node, ref initialState);
Generated\BoundNodes.xml.Generated.cs (4)
4247if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler) 10214this.Visit(node.TryBlock); 11427BoundBlock tryBlock = (BoundBlock)this.Visit(node.TryBlock); 15922new TreeDumperNode("tryBlock", null, new TreeDumperNode[] { Visit(node.TryBlock, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (3)
171return asTry.Update(asTry.TryBlock, asTry.CatchBlocks, rewrittenFinally, asTry.FinallyLabelOpt, asTry.PreferFaultHandler); 463var rewrittenTry = (BoundBlock)this.VisitBlock(node.TryBlock); 809Visit(node.TryBlock);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
355tryBlock: F.Block(node.TryBlock, F.Label(finallyEntry)),
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
365(BoundBlock)Visit(node.TryBlock), 381var rewrittenBody = (BoundStatement)this.Visit(node.TryBlock);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
16BoundBlock? tryBlock = (BoundBlock?)this.Visit(node.TryBlock);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
864BoundBlock tryBlock = F.Block((BoundStatement)this.Visit(node.TryBlock));
Operations\CSharpOperationFactory.cs (1)
1997var body = (IBlockOperation)Create(boundTryStatement.TryBlock);