public XmlSerializerTest() { _obj.Init(); using (StringWriter textWriter = new StringWriter()) { _serializer.Serialize(textWriter, _obj); _xml = textWriter.ToString(); } }
#pragma warning restore 618 public LegacyExtendedXmlSerializerTest() { _obj.Init(); _xml = SerializationClassWithPrimitive(); DeserializationClassWithPrimitive(); }
public ExtendedXmlSerializerTest() { _obj.Init(); _xml = _serializer.Serialize(_obj); }