コード例 #1
0
        public void PrivateSetterTest()
        {
            var expected = new PrivateSetterClass();

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

            Roundtrip(expected);
        }
コード例 #3
0
 public void PrivateSetterTest()
 {
     var expected = new PrivateSetterClass();
     Roundtrip(expected);
 }