System.Xml.Tests.TCFullEndElement.TCComment.comment_4 C# (CSharp) Method

comment_4() public method

public comment_4 ( ) : int
return int
            public int comment_4()
            {
                using (XmlWriter w = CreateWriter())
                {
                    w.WriteStartElement("Root");
                    w.WriteComment("\uD812\uDD12");
                    w.WriteEndElement();
                }
                return CompareReader("<Root><!--\uD812\uDD12--></Root>") ? TEST_PASS : TEST_FAIL;
            }