public void Reset() { this.sp = 0; }
private void PushAncestors() { _navStack.Reset(); do { _navStack.Push(_navCurrent.Clone()); }while (_navCurrent.MoveToParent()); // Pop the root of the tree, since MoveToFollowing calls will never return it _navStack.Pop(); }