public void AddChildNode(XmlContainerReference.ChildNode childNode)
 {
     if (this.childNodesToPreserve == null)
     {
         this.childNodesToPreserve = (IList <XmlContainerReference.ChildNode>) new List <XmlContainerReference.ChildNode>();
     }
     this.childNodesToPreserve.Add(childNode);
 }
 public ChildNode(XmlContainerReference.ChildNode other)
 {
     this.type = other.type;
     this.text = other.text;
 }