public int writeState_6()
{
using (XmlWriter w = CreateWriter())
{
try
{
w.WriteStartElement("Root");
w.WriteStartElement("Root");
}
catch (InvalidOperationException e)
{
CError.WriteLineIgnore(e.ToString());
CError.Compare(w.WriteState, WriteState.Error, "Error");
}
}
return TEST_PASS;
}