Let\'s say I have a buggy application like this:
using System; namespace ConsoleApplication1 { class Program { static void Main(string[] args)
You can use static MSIL Injection. Mono Cecil or PostSharp maybe helpful.