public static bool isASXcode(string code, bool mainCycle) { bool ret = NQuantLibcPINVOKE.ASX_isASXcode__SWIG_0(code, mainCycle); if (NQuantLibcPINVOKE.SWIGPendingException.Pending) { throw NQuantLibcPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }