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); }