public override int GetHashCode()
 {
     return(Gid.GetHashCode()
            ^ ListId.GetHashCode()
            ^ LinkId.GetHashCode()
            ^ Url.GetHashCode());
 }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 13;

            hash += (hash * 43) + LinkId.GetHashCode();

            return(hash);
        }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id != 0)
            {
                hash ^= Id.GetHashCode();
            }
            hash ^= weapons_.GetHashCode();
            if (bornPosition_ != null)
            {
                hash ^= BornPosition.GetHashCode();
            }
            hash ^= testTypes_.GetHashCode();
            if (LinkId != 0)
            {
                hash ^= LinkId.GetHashCode();
            }
            if (Model.Length != 0)
            {
                hash ^= Model.GetHashCode();
            }
            if (Icon.Length != 0)
            {
                hash ^= Icon.GetHashCode();
            }
            hash ^= machineTypes_.GetHashCode();
            if (MapType.Length != 0)
            {
                hash ^= MapType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }