public override void MutateHoistedGenericType (AnonymousMethodStorey storey) { base.MutateHoistedGenericType (storey); MethodInfo mi = best_candidate as MethodInfo; if (mi != null) { best_candidate = storey.MutateGenericMethod (mi); return; } best_candidate = storey.MutateConstructor ((ConstructorInfo) this); }
public override void MutateHoistedGenericType (AnonymousMethodStorey storey) { if (delegate_instance_expression != null) delegate_instance_expression.MutateHoistedGenericType (storey); delegate_method = storey.MutateGenericMethod (delegate_method); constructor_method = storey.MutateConstructor (constructor_method); }