예제 #1
0
        public byte[] DecompileMethod(MethodDefinition method)
        {
            var binout = new BinaryOutput(this);

            try
            {
                DecompileMethod(method, binout);
            }
            catch (Exception ex)
            {
                binout.Write("Error Decompiling: " + ex.Message);
            }

            return(binout.GetOutput());
        }
        public byte[] DecompileMethod(MethodDefinition method)
        {
            var binout = new BinaryOutput(this);

            try
            {
                DecompileMethod(method, binout);
            }
            catch (Exception ex)
            {
                binout.Write("Error Decompiling: " + ex.Message);
            }

            return binout.GetOutput();
        }