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