public override bool Equals(object obj) { if (obj == null) { return(false); } if (!GetType().Equals(obj.GetType())) { return(false); } RewriteQuery <SQ> other = (RewriteQuery <SQ>)obj; return(fieldName.Equals(other.fieldName) && qf.Equals(other.qf) && srndQuery.Equals(other.srndQuery)); }
public override bool Equals(object obj) { if (obj is null) { return(false); } if (!GetType().Equals(obj.GetType())) { return(false); } RewriteQuery <SQ> other = (RewriteQuery <SQ>)obj; return(m_fieldName.Equals(other.m_fieldName, StringComparison.Ordinal) && m_qf.Equals(other.m_qf) && m_srndQuery.Equals(other.m_srndQuery)); }