System.Xml.Tests.TCFullEndElement.TCCharEntity.charEntity_7 C# (CSharp) Méthode

charEntity_7() public méthode

public charEntity_7 ( ) : int
Résultat int
            public int charEntity_7()
            {
                using (XmlWriter w = CreateWriter())
                {
                    w.WriteStartElement("root");
                    w.WriteCharEntity('c');
                    w.WriteEndElement();
                }
                string strExp = "<root>&#x63;</root>";
                return CompareReader(strExp) ? TEST_PASS : TEST_FAIL;
            }