Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Raw?.GetHashCode() ?? 0) * 397) ^ (Self?.GetHashCode() ?? 0));
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Raw.GetHashCode() * 397) ^ Cooked.GetHashCode());
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         return(((int)Type * 397) ^ (Raw != null ? Raw.GetHashCode() : 0));
     }
 }
Exemple #4
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 37;
         hash = hash * 23 + Raw.GetHashCode();
         return(hash);
     }
 }
Exemple #5
0
        public override int GetHashCode()
        {
            var hashCode = -998666383;

            hashCode = hashCode * -1521134295 + Raw.GetHashCode();
            hashCode = hashCode * -1521134295 + Minimum.GetHashCode();
            hashCode = hashCode * -1521134295 + Maximum.GetHashCode();
            return(hashCode);
        }
Exemple #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Raw.Length != 0)
            {
                hash ^= Raw.GetHashCode();
            }
            if (Platform.Length != 0)
            {
                hash ^= Platform.GetHashCode();
            }
            if (Os.Length != 0)
            {
                hash ^= Os.GetHashCode();
            }
            if (OsVersion.Length != 0)
            {
                hash ^= OsVersion.GetHashCode();
            }
            if (Engine.Length != 0)
            {
                hash ^= Engine.GetHashCode();
            }
            if (EngineVersion.Length != 0)
            {
                hash ^= EngineVersion.GetHashCode();
            }
            if (Browser.Length != 0)
            {
                hash ^= Browser.GetHashCode();
            }
            if (BrowserVersion.Length != 0)
            {
                hash ^= BrowserVersion.GetHashCode();
            }
            if (Localization.Length != 0)
            {
                hash ^= Localization.GetHashCode();
            }
            if (Mobile != false)
            {
                hash ^= Mobile.GetHashCode();
            }
            if (WalletCompatible != false)
            {
                hash ^= WalletCompatible.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Designation.GetHashCode();
         hashCode = (hashCode * 397) ^ MeasurementMatchesRemaining;
         hashCode = (hashCode * 397) ^ PercentToNextTier.GetHashCode();
         hashCode = (hashCode * 397) ^ Rank.GetHashCode();
         hashCode = (hashCode * 397) ^ Raw.GetHashCode();
         hashCode = (hashCode * 397) ^ Tier.GetHashCode();
         return(hashCode);
     }
 }
Exemple #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Raw.Length != 0)
            {
                hash ^= Raw.GetHashCode();
            }
            hash ^= Values.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uri.Length != 0)
            {
                hash ^= Uri.GetHashCode();
            }
            if (Raw.Length != 0)
            {
                hash ^= Raw.GetHashCode();
            }
            if (PassThrough.Length != 0)
            {
                hash ^= PassThrough.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Width != 0)
            {
                hash ^= Width.GetHashCode();
            }
            if (Height != 0)
            {
                hash ^= Height.GetHashCode();
            }
            if (ChannelCount != 0)
            {
                hash ^= ChannelCount.GetHashCode();
            }
            if (Raw.Length != 0)
            {
                hash ^= Raw.GetHashCode();
            }
            hash ^= rois_.GetHashCode();
            if (SolutionId != 0)
            {
                hash ^= SolutionId.GetHashCode();
            }
            if (ErrorId != 0)
            {
                hash ^= ErrorId.GetHashCode();
            }
            if (Key.Length != 0)
            {
                hash ^= Key.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Exemple #11
0
 public override int GetHashCode()
 {
     return(Raw.GetHashCode());
 }
Exemple #12
0
 public override int GetHashCode()
 {
     return(Ingredient != null?Ingredient.Id.GetHashCode() : Raw.GetHashCode());
 }