public static Func <object> ConstructType(Type type) { return(EmitHelpers.EmitDynamicMethod <Func <object> >("Construct_" + type.Name + "_" + Guid.NewGuid(), type.Module, il => EmitCode(type, il))); }
public static Func <object> ConstructType(Type type) { return(EmitHelpers.EmitDynamicMethod <Func <object> >("Construct_" + type.Name + "_" + Guid.NewGuid(), type.Module, il => EmitCode(type, il))); }