public void SealedObjectWithNullReferenceToUnsealedType() { var x = new TestObject2 { Name = "A" }; RoundTrip(x); }
public void Test2() { var o = new TestObject2 { A = new PrimitiveValue { Number = 1 }, B = Guid.NewGuid(), C = Guid.NewGuid(), D = Guid.NewGuid(), E = Guid.NewGuid() }; var x = new[] { o, o, o }; RoundTrip(x); }
public void SealedObjectWithReferenceToUnsealedType() { var x = new TestObject2 { Name = "A", Ref = new TestC() }; RoundTrip(x); RoundTrip(x); }