Ensured the UnmanagedFunctionPointerAttribute is always set on generated delegates