Ejemplo n.º 1
0
        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");
        }
Ejemplo n.º 2
0
		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");
		}