2 writes to _currentFinallyFrame
Microsoft.CodeAnalysis.CSharp (2)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (2)
479
_currentFinallyFrame
= newFrame;
486
_currentFinallyFrame
= result.parent;
8 references to _currentFinallyFrame
Microsoft.CodeAnalysis.CSharp (8)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (8)
159
var rootFrame =
_currentFinallyFrame
;
338
_currentFinallyFrame
.AddState(stateNumber);
348
F.Assignment(F.Field(F.This(), stateField), F.Literal(
_currentFinallyFrame
.finalizeState)));
355
var proxyLabel =
_currentFinallyFrame
.ProxyLabelIfNeeded(node.Label);
362
Debug.Assert(node.Label ==
_currentFinallyFrame
.ProxyLabelIfNeeded(node.Label), "conditional leave?");
409
Debug.Assert(frame.parent.finalizeState ==
_currentFinallyFrame
.finalizeState);
476
var newFrame = new IteratorFinallyFrame(
_currentFinallyFrame
, finalizeState, finallyMethod, _yieldsInTryAnalysis.Labels(statement));
485
var result =
_currentFinallyFrame
;