Esempio n. 1
0
        public OpCode GetNextOpCode(double currentIndex)
        {
            OpCode result = OpCodes.Where(i => i.Index > currentIndex).OrderBy(m => m.Index).FirstOrDefault();

            if (result == null)
            {
                result = ModuleOpCodes.Where(i => i.Index > currentIndex).OrderBy(m => m.Index).FirstOrDefault();
            }
            return(result);
        }
Esempio n. 2
0
        }                                             //Enable obfuscation

        public OpCode GetOpCodeByIndex(double index)
        {
            OpCode result = OpCodes.Where(i => i.Index == index).FirstOrDefault();

            if (result == null)
            {
                result = ModuleOpCodes.Where(i => i.Index == index).FirstOrDefault();
            }

            return(result);
        }