public HierarchyNodeCollection(HierarchyNode parent)
 {
     Debug.Assert(parent != null);
     this.parent = parent;
 }