public static string OSRCRSInfo_code_get(CRSInfo crsInfo) { string ret = OsrPINVOKE.OSRCRSInfo_code_get(CRSInfo.getCPtr(crsInfo)); if (OsrPINVOKE.SWIGPendingException.Pending) { throw OsrPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }