public void Run(string[] args) { if (args.Length is 0) { Environment.Exit(0); } ModuleDef module = ModuleDefMD.Load(args[0]); Injector Injector = new Injector(module, typeof(Test)); Injector.Inject(); if (Injector.hasInjected) { Injector.AddCall("ExecuteMePlease"); } SaveFile(module); Console.ReadLine(); }