public int charEntity_1()
{
using (XmlWriter w = CreateWriter())
{
w.WriteStartElement("Root");
w.WriteStartAttribute("a");
w.WriteCharEntity('\uD23E');
w.WriteEndAttribute();
w.WriteCharEntity('\uD7FF');
w.WriteCharEntity('\uE000');
w.WriteEndElement();
}
return CompareReader("<Root a=\"툾\">퟿</Root>") ? TEST_PASS : TEST_FAIL;
}