public override bool Equals(object other) { if (other is FlagState o) { return(Variation == o.Variation && Version == o.Version && TrackEvents == o.TrackEvents && DebugEventsUntilDate.Equals(o.DebugEventsUntilDate) && Object.Equals(Reason, o.Reason)); } return(false); }
public override int GetHashCode() { return((((((Variation.GetHashCode() * 17) + Version.GetHashCode()) * 17) + TrackEvents.GetHashCode()) * 17 + DebugEventsUntilDate.GetHashCode()) * 17 + (Reason == null ? 0 : Reason.GetHashCode())); }