internal void Add(QueryNode node)
 {
     if (this.count == this.items.Length)
     {
         this.Grow(this.items.Length * 2);
     }
     this.position++;
     this.items[this.count++].Set(node, this.position, this.sizePosition);
 }
 internal void Set(ref NodeSequenceItem item, int position, int size)
 {
     this.node = item.node;
     this.position = position;
     this.size = size;
     this.flags = item.flags;
 }
 internal void Set(QueryNode node, int position, int size)
 {
     this.node = node;
     this.position = position;
     this.size = size;
     this.flags = NodeSequenceItemFlags.None;
 }
 internal void Set(SeekableXPathNavigator node, int position, int size)
 {
     this.node = new QueryNode(node);
     this.position = position;
     this.size = size;
     this.flags = NodeSequenceItemFlags.None;
 }