1 instantiation of IteratorFinallyFrame
Microsoft.CodeAnalysis.CSharp (1)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
42
private IteratorFinallyFrame _currentFinallyFrame = new
IteratorFinallyFrame
();
13 references to IteratorFinallyFrame
Microsoft.CodeAnalysis.CSharp (13)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (8)
42
private
IteratorFinallyFrame
_currentFinallyFrame = new IteratorFinallyFrame();
159
var
rootFrame = _currentFinallyFrame;
259
private BoundStatement EmitFinallyFrame(
IteratorFinallyFrame
frame, BoundLocal state)
387
var
frame = PushFrame(node);
440
var
parent = frame.parent;
464
private
IteratorFinallyFrame
PushFrame(BoundTryStatement statement)
476
var
newFrame = new IteratorFinallyFrame(_currentFinallyFrame, finalizeState, finallyMethod, _yieldsInTryAnalysis.Labels(statement));
485
var
result = _currentFinallyFrame;
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.IteratorFinallyFrame.cs (5)
22
public readonly
IteratorFinallyFrame
parent;
31
public Dictionary<StateMachineState,
IteratorFinallyFrame
> knownStates;
44
IteratorFinallyFrame
parent,
79
private void AddState(StateMachineState state,
IteratorFinallyFrame
innerHandler)
84
this.knownStates = knownStates = new Dictionary<StateMachineState,
IteratorFinallyFrame
>();