コード例 #1
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.Data));
 }
コード例 #2
0
 public override sealed int GetHashCode()
 {
     return(this.Length.GetHashCode() ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this));
 }
コード例 #3
0
 public override int GetHashCode()
 {
     return(Sequence.GetHashCode((object)this.RecordType, (object)this.MulticastAddress) ^ IEnumerableExtensions.SequenceGetHashCode <IpV4Address>((IEnumerable <IpV4Address>) this.SourceAddresses) ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.AuxiliaryData));
 }
コード例 #4
0
 public override int GetHashCode()
 {
     return(BitSequence.Merge((ushort)this.AddressFamily, this.PrefixLength, (byte)((this.Negation ? 1 : 0) << 7 | this.AddressFamilyDependentPart.Length)).GetHashCode() ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.AddressFamilyDependentPart));
 }
コード例 #5
0
 public override int GetHashCode()
 {
     return(base.GetHashCode() ^ BitSequence.Merge((ushort)this.ProtocolType, (ushort)this.Operation).GetHashCode() ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.SenderHardwareAddress) ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.SenderProtocolAddress) ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.TargetHardwareAddress) ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.TargetProtocolAddress));
 }
コード例 #6
0
 public override sealed int GetHashCode()
 {
     return(this.Name.ToUpperInvariant().GetHashCode() ^ IEnumerableExtensions.BytesSequenceGetHashCode((IEnumerable <byte>) this.Value));
 }