public override int GetHashCode() { if (ChildFilterDescriptors == null) { return(LogicalOperator.GetHashCode()); } return(LogicalOperator.GetHashCode() ^ ChildFilterDescriptors.Count); }
/// <summary> /// Returns the hash code for this instance. /// </summary> /// <returns>A 32-bit signed integer hash code.</returns> public override int GetHashCode() { int hashCode = logicalOperator.GetHashCode(); foreach (object o in members) { hashCode ^= o.GetHashCode(); } return(hashCode); }