static int AfterSend_cb(IntPtr inst, IntPtr req, IntPtr resp) { try { IRTSPExtensionImplementor __obj = GLib.Object.GetObject(inst, false) as IRTSPExtensionImplementor; Gst.Rtsp.RTSPResult __result; __result = __obj.AfterSend(Gst.Rtsp.RTSPMessage.New(req), Gst.Rtsp.RTSPMessage.New(resp)); return((int)__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }