public void SubInterfaceOnly()
        {
            dynamic d = new ExplicitlyImplementedSubInterface();
            Assert.Throws<RuntimeBinderException>(() => d.Foo());

            var x = Helpers.Cast<BaseInterfaceWithOneMember1>(d);
            var y = Helpers.Cast<SubInterfaceWithOneMember1>(d);
        }
        public void SubInterfaceOnly()
        {
            dynamic d = new ExplicitlyImplementedSubInterface();

            Assert.Throws <RuntimeBinderException>(() => d.Foo());

            var x = Helpers.Cast <BaseInterfaceWithOneMember1>(d);
            var y = Helpers.Cast <SubInterfaceWithOneMember1>(d);
        }