1 write to TryBlock
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4230this.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)
4248if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler) 10251this.Visit(node.TryBlock); 11464BoundBlock tryBlock = (BoundBlock)this.Visit(node.TryBlock); 15959new 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)
382tryBlock: F.Block(node.TryBlock, F.Label(finallyEntry)),
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
373(BoundBlock)Visit(node.TryBlock), 389var rewrittenBody = (BoundStatement)this.Visit(node.TryBlock);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
16BoundBlock? tryBlock = (BoundBlock?)this.Visit(node.TryBlock);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
882BoundBlock tryBlock = F.Block((BoundStatement)this.Visit(node.TryBlock));
Operations\CSharpOperationFactory.cs (1)
1997var body = (IBlockOperation)Create(boundTryStatement.TryBlock);