public virtual object DupTree(object tree) { object t = adaptor.DupTree(tree); // walk the tree and emit create and add child events // to simulate what dupTree has done. dupTree does not call this debug // adapter so I must simulate. SimulateTreeConstruction(t); return(t); }