public static string StaticEcho(string value) { return "StaticEcho: " + value; }
private void AssertStaticMethod(Foo target) { object result = Dispatch(target, typeof(Foo), "StaticEcho", "Hello"); Assert.AreEqual(Foo.StaticEcho("Hello"), result); }