public void NonGenericInterface_WithGetter() { dynamic d = new ExplicitlyImplementedInterfaceWithGetter(); Assert.Throws<RuntimeBinderException>(() => d.Property); var x = Helpers.Cast<InterfaceWithGetter>(d); }
public void NonGenericInterface_WithGetter() { dynamic d = new ExplicitlyImplementedInterfaceWithGetter(); Assert.Throws <RuntimeBinderException>(() => d.Property); var x = Helpers.Cast <InterfaceWithGetter>(d); }