Example #1
0
 public static bool MapCodeToMachineAddress(out object answer, object arg0, object arg1)
 {
     TC type = (TC) arg0;
     switch (type) {
         case TC.RETURN_CODE:
             answer = new ReturnAddress ((ReturnCode) arg1);
             break;
         default:
             throw new NotImplementedException ();
     }
     return false;
 }
Example #2
0
        public static bool MapCodeToMachineAddress(out object answer, object arg0, object arg1)
        {
            TC type = (TC)arg0;

            switch (type)
            {
            case TC.RETURN_CODE:
                answer = new ReturnAddress((ReturnCode)arg1);
                break;

            default:
                throw new NotImplementedException();
            }
            return(false);
        }