System.Xml.Tests.TCFullEndElement.TCComment.comment_3 C# (CSharp) Méthode

comment_3() public méthode

public comment_3 ( ) : int
Résultat int
            public int comment_3()
            {
                using (XmlWriter w = CreateWriter())
                {
                    w.WriteStartElement("Root");
                    w.WriteComment(null);
                    w.WriteEndElement();
                }
                return CompareReader("<Root><!----></Root>") ? TEST_PASS : TEST_FAIL;
            }