public int writeString_6() { using (XmlWriter w = CreateWriter()) { w.WriteStartElement("Root"); w.WriteString("' & < > \""); w.WriteEndElement(); } return CompareReader("<Root>' & < > \"</Root>") ? TEST_PASS : TEST_FAIL; }