System.Xml.Tests.TCFullEndElement.TCWhiteSpace.whitespace_3 C# (CSharp) Méthode

whitespace_3() public méthode

public whitespace_3 ( ) : int
Résultat int
            public int whitespace_3()
            {
                using (XmlWriter w = CreateWriter())
                {
                    w.WriteStartDocument();
                    w.WriteWhitespace("\x20");
                    w.WriteStartElement("Root");
                    w.WriteEndElement();
                    w.WriteWhitespace("\x20");
                    w.WriteEndDocument();
                }
                return CompareBaseline("whitespace3.txt") ? TEST_PASS : TEST_FAIL;
            }