public void NonGenericInterface_WithSetter() { dynamic d = new ExplicitlyImplementedInterfaceWithSetter(); Assert.Throws<RuntimeBinderException>(() => d.Prop = 1); var x = Helpers.Cast<InterfaceWithSetter>(d); }
public void NonGenericInterface_WithSetter() { dynamic d = new ExplicitlyImplementedInterfaceWithSetter(); Assert.Throws <RuntimeBinderException>(() => d.Prop = 1); var x = Helpers.Cast <InterfaceWithSetter>(d); }