Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (ItemSubCategory != 0)
            {
                hash ^= ItemSubCategory.GetHashCode();
            }
            if (ItemImageName.Length != 0)
            {
                hash ^= ItemImageName.GetHashCode();
            }
            if (ItemFrame != 0)
            {
                hash ^= ItemFrame.GetHashCode();
            }
            if (ItemType != 0)
            {
                hash ^= ItemType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }