/// <summary> /// true iff the group records are equal. /// </summary> private bool EqualFields(IgmpReportVersion3Layer other) { return(other != null && GroupRecords.SequenceEqual(other.GroupRecords)); }
/// <summary> /// Xor of the hash codes of the layer length, datalink, message type, query version and the group records. /// </summary> public override int GetHashCode() { return(base.GetHashCode() ^ GroupRecords.SequenceGetHashCode()); }