public void ShouldCompileInstanceMethod() { MethodInfo method = typeof(MethodCompilerTest).GetMethod("TestInstance"); var inst = new MethodCompilerTest(); var action = MethodCompiler.CompileInstanceMethodInvocation(method); action(inst, new object[] { 2, DateTime.MaxValue.AddDays(-1), "test2" }); }