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

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

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

            AssertAssemblerResult(output);

            return(file);
        }
		static void AssertAssemblerResult (ShellService.ProcessOutput output)
		{
			if (output.ExitCode != 0)
				Assert.Fail (output.ToString ());
		}