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

comment_6() public method

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