static IntPtr ChildType_cb(IntPtr inst) { try { Container __obj = GLib.Object.GetObject(inst, false) as Container; GLib.GType __result; __result = __obj.OnChildType(); return(__result.Val); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }