1 write to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4231this.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)
4247if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.FinallyBlockOpt || !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler) 10216this.Visit(node.FinallyBlockOpt); 11429BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.FinallyBlockOpt); 15924new 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)
342if (node.FinallyBlockOpt is object) 356node.CatchBlocks, node.FinallyBlockOpt, node.FinallyLabelOpt, node.PreferFaultHandler); 367if (node.FinallyBlockOpt != null && _currentDisposalLabel is object)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
367(BoundBlock)Visit(node.FinallyBlockOpt), 376Debug.Assert(node.FinallyBlockOpt != null, "try with yields must have finally"); 391var rewrittenHandler = (BoundStatement)this.Visit(node.FinallyBlockOpt);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
27BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.FinallyBlockOpt);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
883BoundBlock finallyBlockOpt = node.FinallyBlockOpt == null ? null : F.Block( 887thenClause: VisitFinally(node.FinallyBlockOpt)
Operations\CSharpOperationFactory.cs (1)
1999var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt);