1 write to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4231
this.
FinallyBlockOpt
= finallyBlockOpt;
26 references to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (26)
BoundTree\BoundNode_Source.cs (1)
66
var finallyBlock = tryStatement.
FinallyBlockOpt
;
CodeGen\EmitStatement.cs (4)
934
(statement.
FinallyBlockOpt
!= null));
965
if (!emitCatchesOnly && (statement.
FinallyBlockOpt
!= null))
968
EmitBlock(statement.
FinallyBlockOpt
);
1944
return (BoundBlock)cloner.Visit(node.
FinallyBlockOpt
);
CodeGen\Optimizer.cs (1)
1676
var finallyBlock = (BoundBlock)this.Visit(node.
FinallyBlockOpt
);
FlowAnalysis\AbstractFlowPass.cs (2)
1845
if (node.
FinallyBlockOpt
!= null)
1856
VisitFinallyBlockWithAnyTransferFunction(node.
FinallyBlockOpt
, ref stateMovedUpInFinally);
Generated\BoundNodes.xml.Generated.cs (4)
4247
if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.
FinallyBlockOpt
|| !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
10216
this.Visit(node.
FinallyBlockOpt
);
11429
BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.
FinallyBlockOpt
);
15924
new TreeDumperNode("finallyBlockOpt", null, new TreeDumperNode[] { Visit(node.
FinallyBlockOpt
, null) }),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (4)
159
rewrittenFinally = (BoundBlock)this.Visit(node.
FinallyBlockOpt
);
170
Debug.Assert(asTry.
FinallyBlockOpt
== null);
183
rewrittenFinally = (BoundBlock)this.VisitBlock(node.
FinallyBlockOpt
);
814
Visit(node.
FinallyBlockOpt
);
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (3)
342
if (node.
FinallyBlockOpt
is object)
356
node.CatchBlocks, node.
FinallyBlockOpt
, node.FinallyLabelOpt, node.PreferFaultHandler);
367
if (node.
FinallyBlockOpt
!= null && _currentDisposalLabel is object)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
367
(BoundBlock)Visit(node.
FinallyBlockOpt
),
376
Debug.Assert(node.
FinallyBlockOpt
!= null, "try with yields must have finally");
391
var rewrittenHandler = (BoundStatement)this.Visit(node.
FinallyBlockOpt
);
Lowering\LocalRewriter\LocalRewriter_TryStatement.cs (1)
27
BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.
FinallyBlockOpt
);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (2)
883
BoundBlock finallyBlockOpt = node.
FinallyBlockOpt
== null ? null : F.Block(
887
thenClause: VisitFinally(node.
FinallyBlockOpt
)
Operations\CSharpOperationFactory.cs (1)
1999
var @finally = (IBlockOperation?)Create(boundTryStatement.
FinallyBlockOpt
);