System.Xml.Tests.TCFullEndElement.TCComment.comment_6 C# (CSharp) 메소드

comment_6() 공개 메소드

public comment_6 ( ) : int
리턴 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;
            }
        }