internal CalliWrapper(CallingConvention unmanagedCallConv, Type returnType, Type[] parameterTypes) { this.unmanagedCallConv = unmanagedCallConv; this.returnType = returnType; this.parameterTypes = parameterTypes == null ? null : (Type[])parameterTypes.Clone(); }