public int attribute_17()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteAttributeString("a", null, "b");
w.WriteString("test");
w.WriteEndElement();
}
return CompareReader("<Root a=\"b\">test</Root>") ? TEST_PASS : TEST_FAIL;
}