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