public void TestIsXmlChar() { Assert.AreEqual(false, XmlEncoder.IsXmlChar('\u0001')); Assert.AreEqual(false, XmlEncoder.IsXmlChar('\u0005')); Assert.AreEqual(false, XmlEncoder.IsXmlChar('\u0007')); Assert.AreEqual(false, XmlEncoder.IsXmlChar('\u0008')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('J')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('+')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('S')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('4')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('!')); Assert.AreEqual(true, XmlEncoder.IsXmlChar('$')); }