コード例 #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());
            }
        }
コード例 #2
0
        protected override string CompileFile(string name)
        {
            string file = GetCompiledFilePath(name);

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

            AssertAssemblerResult(output);

            return(file);
        }