Пример #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
        public static void Verify(string name)
        {
#if !NET_CORE
            var output = Platform.OnMono ? ShellService.PEDump(name) : ShellService.PEVerify(name);
            if (output.ExitCode != 0)
            {
                Assert.Fail(output.ToString());
            }
#endif
        }