public void BaseInterfaceOnly()
        {
            dynamic d = new ExplicitlyImplementedBaseInterfaceWithTwoMembers();

            Assert.Throws <RuntimeBinderException>(() => d.Foo());
            Assert.Throws <InvalidCastException>(() => Helpers.Cast <SubInterfaceWithNoMembers>(d));
        }
 public void BaseInterfaceOnly()
 {
     dynamic d = new ExplicitlyImplementedBaseInterfaceWithTwoMembers();
     Assert.Throws<RuntimeBinderException>(() => d.Foo());
     Assert.Throws<InvalidCastException>(() => Helpers.Cast<SubInterfaceWithNoMembers>(d));
 }