Inheritance: System.Xml.XmlCDataSection, IConfigErrorInfo
        public override XmlNode CloneNode(bool deep)
        {
            XmlNode cloneNode           = base.CloneNode(deep);
            ConfigXmlCDataSection clone = cloneNode as ConfigXmlCDataSection;

            if (clone != null)
            {
                clone._line     = _line;
                clone._filename = _filename;
            }
            return(cloneNode);
        }
Example #2
0
            // Clone this node.
            public override XmlNode CloneNode(bool deep)
            {
                XmlNode node = base.CloneNode(deep);
                ConfigXmlCDataSection cnode =
                    (node as ConfigXmlCDataSection);

                if (cnode != null)
                {
                    cnode.filename = filename;
                    cnode.line     = line;
                }
                return(node);
            }