private IteratorFinallyMethodSymbol MakeSynthesizedFinally(int state) { var stateMachineType = (IteratorStateMachine)F.CurrentType; var finallyMethod = new IteratorFinallyMethodSymbol(stateMachineType, GeneratedNames.MakeIteratorFinallyMethodName(state)); F.ModuleBuilderOpt.AddSynthesizedDefinition(stateMachineType, finallyMethod); return(finallyMethod); }