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

            if (CurrentPeriodBucket != 0)
            {
                hash ^= CurrentPeriodBucket.GetHashCode();
            }
            if (CurrentStreakCount != 0)
            {
                hash ^= CurrentStreakCount.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (CurrentPeriodBucket != 0)
            {
                hash ^= CurrentPeriodBucket.GetHashCode();
            }
            if (CurrentStreakCount != 0)
            {
                hash ^= CurrentStreakCount.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }