public int writeRaw_2()
{
using (XmlWriter w = CreateWriter())
{
String t = "<node a=\"&'b\">\" c=\"'d\">&</node>";
w.WriteStartElement("Root");
w.WriteRaw(t);
w.WriteEndElement();
}
string strExp = "<Root><node a=\"&'b\">\" c=\"'d\">&</node></Root>";
return CompareString(strExp) ? TEST_PASS : TEST_FAIL;
}