1 write to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4232this.FinallyBlockOpt = finallyBlockOpt;
26 references to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (26)
BoundTree\BoundNode_Source.cs (1)
66var finallyBlock = tryStatement.FinallyBlockOpt;
CodeGen\EmitStatement.cs (4)
934(statement.FinallyBlockOpt != null)); 965if (!emitCatchesOnly && (statement.FinallyBlockOpt != null)) 968EmitBlock(statement.FinallyBlockOpt); 1944return (BoundBlock)cloner.Visit(node.FinallyBlockOpt);
CodeGen\Optimizer.cs (1)
1676var finallyBlock = (BoundBlock)this.Visit(node.FinallyBlockOpt);
FlowAnalysis\AbstractFlowPass.cs (2)
1845if (node.FinallyBlockOpt != null) 1856VisitFinallyBlockWithAnyTransferFunction(node.FinallyBlockOpt, ref stateMovedUpInFinally);
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) 10253this.Visit(node.FinallyBlockOpt); 11466BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.FinallyBlockOpt); 15961new TreeDumperNode("finallyBlockOpt", null, new TreeDumperNode[] { Visit(node.FinallyBlockOpt, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
159rewrittenFinally = (BoundBlock)this.Visit(node.FinallyBlockOpt); 170Debug.Assert(asTry.FinallyBlockOpt == null); 183rewrittenFinally = (BoundBlock)this.VisitBlock(node.FinallyBlockOpt); 814Visit(node.FinallyBlockOpt);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (3)
369if (node.FinallyBlockOpt is object) 383node.CatchBlocks, node.FinallyBlockOpt, node.FinallyLabelOpt, node.PreferFaultHandler); 394if (node.FinallyBlockOpt != null && _currentDisposalLabel is object)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
375(BoundBlock)Visit(node.FinallyBlockOpt), 384Debug.Assert(node.FinallyBlockOpt != null, "try with yields must have finally"); 399var rewrittenHandler = (BoundStatement)this.Visit(node.FinallyBlockOpt);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
27BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.FinallyBlockOpt);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
901BoundBlock finallyBlockOpt = node.FinallyBlockOpt == null ? null : F.Block( 905thenClause: VisitFinally(node.FinallyBlockOpt)
Operations\CSharpOperationFactory.cs (1)
1999var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt);