System.Xml.Tests.TCFullEndElement.TCWriteValue.TCWriteRaw.writeRaw_12 C# (CSharp) 메소드

writeRaw_12() 공개 메소드

public writeRaw_12 ( ) : int
리턴 int
                public int writeRaw_12()
                {
                    using (XmlWriter w = CreateWriter())
                    {
                        w.WriteStartElement("Root");

                        string str = "\uD812\uDD12";
                        char[] chr = str.ToCharArray();

                        w.WriteRaw(str);
                        w.WriteRaw(chr, 0, chr.Length);
                        w.WriteEndElement();
                    }
                    string strExp = "<Root>\uD812\uDD12\uD812\uDD12</Root>";
                    return CompareReader(strExp) ? TEST_PASS : TEST_FAIL;
                }