public TestObject() { m_value = 0; m_object = new TestObject2(); m_valueArray = new Array <int>(); m_objectArray = new Array <TestObject2>(); }
public void NonSerializableObject() { TestObject2 x = new TestObject2(); Assert.Throws <NotSupportedException>(() => Serializer.Write(x)); }