Ejemplo n.º 1
0
 /// <summary>
 /// true iff the group records are equal.
 /// </summary>
 private bool EqualFields(IgmpReportVersion3Layer other)
 {
     return(other != null &&
            GroupRecords.SequenceEqual(other.GroupRecords));
 }
Ejemplo n.º 2
0
 /// <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());
 }