예제 #1
0
        public void NonUniqueSubtypesTest()
        {
            var expected = new NonUniqueSubtypesClass();

#if TESTASYNC
            Assert.Throws <AggregateException>(() => Roundtrip(expected));
#else
            Assert.Throws <InvalidOperationException>(() => Roundtrip(expected));
#endif
        }
예제 #2
0
 public void NonUniqueSubtypesTest()
 {
     var expected = new NonUniqueSubtypesClass();
     Roundtrip(expected);
 }
예제 #3
0
        public void NonUniqueSubtypesTest()
        {
            var expected = new NonUniqueSubtypesClass();

            Roundtrip(expected);
        }