2 writes to _currentFinallyFrame
Microsoft.CodeAnalysis.CSharp (2)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
471
_currentFinallyFrame
= newFrame;
478
_currentFinallyFrame
= result.parent;
8 references to _currentFinallyFrame
Microsoft.CodeAnalysis.CSharp (8)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (8)
158
var rootFrame =
_currentFinallyFrame
;
330
_currentFinallyFrame
.AddState(stateNumber);
340
F.Assignment(F.Field(F.This(), stateField), F.Literal(
_currentFinallyFrame
.finalizeState)));
347
var proxyLabel =
_currentFinallyFrame
.ProxyLabelIfNeeded(node.Label);
354
Debug.Assert(node.Label ==
_currentFinallyFrame
.ProxyLabelIfNeeded(node.Label), "conditional leave?");
401
Debug.Assert(frame.parent.finalizeState ==
_currentFinallyFrame
.finalizeState);
468
var newFrame = new IteratorFinallyFrame(
_currentFinallyFrame
, finalizeState, finallyMethod, _yieldsInTryAnalysis.Labels(statement));
477
var result =
_currentFinallyFrame
;