예제 #1
0
        public static void Verify(string name)
        {
            var output = OnMono ? ShellService.PEDump(name) : ShellService.PEVerify(name);

            if (output.ExitCode != 0)
            {
                Assert.Fail(output.ToString());
            }
        }
예제 #2
0
        protected override string CompileFile(string name)
        {
            string file = GetCompiledFilePath(name);

            var output = ShellService.ILAsm(name, file);

            AssertAssemblerResult(output);

            return(file);
        }