static void Serialize_cb(IntPtr inst, IntPtr data) { try { SocketControlMessage __obj = GLib.Object.GetObject(inst, false) as SocketControlMessage; __obj.OnSerialize(data); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static UIntPtr GetSize_cb(IntPtr inst) { try { SocketControlMessage __obj = GLib.Object.GetObject(inst, false) as SocketControlMessage; ulong __result; __result = __obj.OnGetSize(); return(new UIntPtr(__result)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }