Exemplo n.º 1
0
        public static void Verify(string name)
        {
            var output = Platform.OnMono ? ShellService.PEDump(name) : ShellService.PEVerify(name);

            if (output.ExitCode != 0)
            {
                Assert.Fail(output.ToString());
            }
        }
Exemplo n.º 2
0
        protected override string CompileFile(string name)
        {
            string file = GetCompiledFilePath(name);

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

            AssertAssemblerResult(output);

            return(file);
        }