public static int getCoreTypeFromName(string name) { int ret = libsbmlPINVOKE.getCoreTypeFromName(name); if (libsbmlPINVOKE.SWIGPendingException.Pending) throw libsbmlPINVOKE.SWIGPendingException.Retrieve(); return ret; }