public static unsafe object Create(Bridge bridge, IntPtr unoInterface, InterfaceTypeDescription *TD, string oid) { UnoInterfaceProxy realProxy = new UnoInterfaceProxy(bridge, unoInterface, TD, oid); object proxy = realProxy.GetTransparentProxy(); bridge.RegisterWithCliEnvironment(proxy, oid); return proxy; }