public void MethodHiding() { dynamic d = new TestDerivedClass(); Assert.Equal("Hiding", d.Method(1, 2)); }
public void NoArgumentMatch() { dynamic d = new TestDerivedClass(); Assert.Throws <RuntimeBinderException>(() => d.Method()); }