예제 #1
0
        public void PrivateSetterTest()
        {
            var expected = new PrivateSetterClass();

#if TESTASYNC
            Assert.ThrowsException <AggregateException>(() => Roundtrip(expected));
#else
            Assert.ThrowsException <InvalidOperationException>(() => Roundtrip(expected));
#endif
        }
        public void PrivateSetterTest()
        {
            var expected = new PrivateSetterClass();

            Roundtrip(expected);
        }
예제 #3
0
 public void PrivateSetterTest()
 {
     var expected = new PrivateSetterClass();
     Roundtrip(expected);
 }