예제 #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");
        }
예제 #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");
		}