public void ShouldSerializeTest_private() { PropertyDescriptor p = TypeDescriptor.GetProperties(typeof(ShouldSerialize_protected_test))["Prop"]; ShouldSerialize_protected_test test = new ShouldSerialize_protected_test(); Assert.IsFalse(p.ShouldSerializeValue(test), "1"); }
public void ShouldSerializeTest_private () { PropertyDescriptor p = TypeDescriptor.GetProperties (typeof (ShouldSerialize_protected_test))["Prop"]; ShouldSerialize_protected_test test = new ShouldSerialize_protected_test (); Assert.IsFalse (p.ShouldSerializeValue (test), "1"); }