1 instantiation of IteratorFinallyMethodSymbol
Microsoft.CodeAnalysis.CSharp (1)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (1)
489
var finallyMethod = new
IteratorFinallyMethodSymbol
(stateMachineType, GeneratedNames.MakeIteratorFinallyMethodName(finalizeState));
7 references to IteratorFinallyMethodSymbol
Microsoft.CodeAnalysis.CSharp (7)
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (5)
348
Debug.Assert(node.Label == proxyLabel || !(F.CurrentFunction is
IteratorFinallyMethodSymbol
), "should not be proxying branches in finally");
386
var
finallyMethod = frame.handler;
467
var
finallyMethod = MakeSynthesizedFinally(finalizeState);
486
private
IteratorFinallyMethodSymbol
MakeSynthesizedFinally(StateMachineState finalizeState)
489
var
finallyMethod = new IteratorFinallyMethodSymbol(stateMachineType, GeneratedNames.MakeIteratorFinallyMethodName(finalizeState));
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.IteratorFinallyFrame.cs (2)
25
public readonly
IteratorFinallyMethodSymbol
handler;
46
IteratorFinallyMethodSymbol
handler,