public Boolean equals(Object o) { if (o is XPathConditional) { XPathConditional cond = (XPathConditional)o; return(expr.Equals(cond.expr)); } else { return(false); } }