System.Xml.Tests.TCAutoComplete.var_1 C# (CSharp) Méthode

var_1() public méthode

public var_1 ( ) : int
Résultat 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;
        }