System.Xml.Tests.TCAutoComplete.var_1 C# (CSharp) 메소드

var_1() 공개 메소드

public var_1 ( ) : int
리턴 int
        public int var_1()
        {
            using (XmlWriter w = CreateWriter())
            {
                w.WriteStartElement("Root");
                w.WriteStartAttribute("attr");
                w.WriteStartElement("child");
                w.WriteEndElement();
                w.WriteEndElement();
            }
            return CompareReader("<Root attr=''><child /></Root>") ? TEST_PASS : TEST_FAIL;
        }