public void Replace(CNode child, CNode newchild) { namedParams.Replace(child, newchild); unnamedParams.Replace(child, newchild); }