public object XmlRpcCall(params object[] args) { MethodBase mi = MethodBase.GetCurrentMethod(); //Without the cast, XML-RPC.NET throws exception. return this.Invoke(mi, (object)args); }