public int writeRaw_12()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
string str = "\uD812\uDD12";
char[] chr = str.ToCharArray();
w.WriteRaw(str);
w.WriteRaw(chr, 0, chr.Length);
w.WriteEndElement();
}
string strExp = "<Root>\uD812\uDD12\uD812\uDD12</Root>";
return CompareReader(strExp) ? TEST_PASS : TEST_FAIL;
}