public override int GetHashCode() { int hash = 1; hash ^= TrackedSenders.GetHashCode(); hash ^= TrackedIds.GetHashCode(); return(hash); }
public bool Equals(ReceiverStateSnapshot other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (!TrackedSenders.Equals(other.TrackedSenders)) { return(false); } if (!TrackedIds.Equals(other.TrackedIds)) { return(false); } return(true); }