public int FixupOrdering() { int ret = OsrPINVOKE.SpatialReference_FixupOrdering(swigCPtr); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }