/// <inheritdoc /> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Enabled != null) { hashCode = hashCode * 59 + Enabled.GetHashCode(); } if (Target != null) { hashCode = hashCode * 59 + Target.GetHashCode(); } if (TargetArray != null) { hashCode = hashCode * 59 + TargetArray.GetHashCode(); } if (Order != null) { hashCode = hashCode * 59 + Order.GetHashCode(); } if (TargetSrc != null) { hashCode = hashCode * 59 + TargetSrc.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Enabled != null) { hashCode = hashCode * 59 + Enabled.GetHashCode(); } if (Target != null) { hashCode = hashCode * 59 + Target.GetHashCode(); } if (TargetArray != null) { hashCode = hashCode * 59 + TargetArray.GetHashCode(); } if (Operation != null) { hashCode = hashCode * 59 + Operation.GetHashCode(); } if (Value != null) { hashCode = hashCode * 59 + Value.GetHashCode(); } if (PreserveGaps != null) { hashCode = hashCode * 59 + PreserveGaps.GetHashCode(); } if (ValueCalendar != null) { hashCode = hashCode * 59 + ValueCalendar.GetHashCode(); } if (TargetCalendar != null) { hashCode = hashCode * 59 + TargetCalendar.GetHashCode(); } if (TargetSrc != null) { hashCode = hashCode * 59 + TargetSrc.GetHashCode(); } return(hashCode); } }