public void InstallProperties(ParamSpec[] pspecs) { if (pspecs == null) { throw new ArgumentNullException(nameof(pspecs)); } var pspecs_ = GMarshal.OpaqueCArrayToPtr <ParamSpec> (pspecs, false); var nPspecs_ = (uint)(pspecs == null ? 0 : pspecs.Length); g_object_class_install_properties(Handle, nPspecs_, pspecs_); GMarshal.Free(pspecs_); }