public static void AllRegister() { GdalPINVOKE.AllRegister(); if (GdalPINVOKE.SWIGPendingException.Pending) { throw GdalPINVOKE.SWIGPendingException.Retrieve(); } }