1 write to FinallyBlockOpt
Microsoft.CodeAnalysis.CSharp (1)
Generated\BoundNodes.xml.Generated.cs (1)
4232
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)
4248
if (tryBlock != this.TryBlock || catchBlocks != this.CatchBlocks || finallyBlockOpt != this.
FinallyBlockOpt
|| !Symbols.SymbolEqualityComparer.ConsiderEverything.Equals(finallyLabelOpt, this.FinallyLabelOpt) || preferFaultHandler != this.PreferFaultHandler)
10217
this.Visit(node.
FinallyBlockOpt
);
11430
BoundBlock? finallyBlockOpt = (BoundBlock?)this.Visit(node.
FinallyBlockOpt
);
15925
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)
369
if (node.
FinallyBlockOpt
is object)
383
node.CatchBlocks, node.
FinallyBlockOpt
, node.FinallyLabelOpt, node.PreferFaultHandler);
394
if (node.
FinallyBlockOpt
!= null && _currentDisposalLabel is object)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (3)
373
(BoundBlock)Visit(node.
FinallyBlockOpt
),
382
Debug.Assert(node.
FinallyBlockOpt
!= null, "try with yields must have finally");
397
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)
901
BoundBlock finallyBlockOpt = node.
FinallyBlockOpt
== null ? null : F.Block(
905
thenClause: VisitFinally(node.
FinallyBlockOpt
)
Operations\CSharpOperationFactory.cs (1)
1999
var @finally = (IBlockOperation?)Create(boundTryStatement.
FinallyBlockOpt
);