public override int GetHashCode() { int hash = 1; if (Message.Length != 0) { hash ^= Message.GetHashCode(); } if (CurrentValue != 0) { hash ^= CurrentValue.GetHashCode(); } if (LocalSvc.Length != 0) { hash ^= LocalSvc.GetHashCode(); } if (TargetFramework.Length != 0) { hash ^= TargetFramework.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { // ReSharper disable once NonReadonlyMemberInGetHashCode return(CurrentValue.GetHashCode()); }
/// <inheritdoc /> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; if (Visible != null) { hashCode = hashCode * 59 + Visible.GetHashCode(); } if (Active != null) { hashCode = hashCode * 59 + Active.GetHashCode(); } if (Steps != null) { hashCode = hashCode * 59 + Steps.GetHashCode(); } if (LenMode != null) { hashCode = hashCode * 59 + LenMode.GetHashCode(); } if (Len != null) { hashCode = hashCode * 59 + Len.GetHashCode(); } if (X != null) { hashCode = hashCode * 59 + X.GetHashCode(); } if (Pad != null) { hashCode = hashCode * 59 + Pad.GetHashCode(); } if (XAnchor != null) { hashCode = hashCode * 59 + XAnchor.GetHashCode(); } if (Y != null) { hashCode = hashCode * 59 + Y.GetHashCode(); } if (YAnchor != null) { hashCode = hashCode * 59 + YAnchor.GetHashCode(); } if (Transition != null) { hashCode = hashCode * 59 + Transition.GetHashCode(); } if (CurrentValue != null) { hashCode = hashCode * 59 + CurrentValue.GetHashCode(); } if (Font != null) { hashCode = hashCode * 59 + Font.GetHashCode(); } if (ActiveBgColor != null) { hashCode = hashCode * 59 + ActiveBgColor.GetHashCode(); } if (BgColor != null) { hashCode = hashCode * 59 + BgColor.GetHashCode(); } if (BorderColor != null) { hashCode = hashCode * 59 + BorderColor.GetHashCode(); } if (BorderWidth != null) { hashCode = hashCode * 59 + BorderWidth.GetHashCode(); } if (TickleN != null) { hashCode = hashCode * 59 + TickleN.GetHashCode(); } if (TickColor != null) { hashCode = hashCode * 59 + TickColor.GetHashCode(); } if (TickWidth != null) { hashCode = hashCode * 59 + TickWidth.GetHashCode(); } if (MinorTickLen != null) { hashCode = hashCode * 59 + MinorTickLen.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (TemplateItemName != null) { hashCode = hashCode * 59 + TemplateItemName.GetHashCode(); } return(hashCode); } }