public override int GetHashCode() { int hashCode = 0; foreach (SearchCondition condition in conditions) { hashCode += condition.GetHashCode(); } return(indexCondition.GetHashCode() + hashCode); }
public override int GetHashCode() { int hashCode = conditions.Sum(condition => condition.GetHashCode()); return(indexCondition.GetHashCode() + hashCode); }