public void AddSource(string srcdir) { XapianPINVOKE.Compactor_AddSource(swigCPtr, srcdir); if (XapianPINVOKE.SWIGPendingException.Pending) { throw XapianPINVOKE.SWIGPendingException.Retrieve(); } }