Example #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((Max.GetHashCode() * 397) ^ Min.GetHashCode());
     }
 }
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Max != null ? Max.GetHashCode() : 0) * 397) ^ (Current != null ? Current.GetHashCode() : 0));
     }
 }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Max != 0D)
            {
                hash ^= Max.GetHashCode();
            }
            if (Min != 0D)
            {
                hash ^= Min.GetHashCode();
            }
            if (Sum != 0D)
            {
                hash ^= Sum.GetHashCode();
            }
            if (Avg != 0D)
            {
                hash ^= Avg.GetHashCode();
            }
            if (Num != 0)
            {
                hash ^= Num.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = Min.GetHashCode()
                       ^ Max.GetHashCode();

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

            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Init != 0L)
            {
                hash ^= Init.GetHashCode();
            }
            if (Max != 0L)
            {
                hash ^= Max.GetHashCode();
            }
            if (Used != 0L)
            {
                hash ^= Used.GetHashCode();
            }
            if (Commited != 0L)
            {
                hash ^= Commited.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #6
0
    public override int GetHashCode()
    {
        int hash = 17;

        hash *= (31 + Min.GetHashCode());
        hash *= (31 + Max.GetHashCode());
        return(hash);
    }
Example #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = Min.GetHashCode() * 31 + Max.GetHashCode();
         return(hash);
     }
 }
Example #8
0
        public override int GetHashCode()
        {
            int hash = 37;

            hash = hash * 43 + Min.GetHashCode();
            hash = hash * 43 + Max.GetHashCode();
            return(hash);
        }
Example #9
0
        public override int GetHashCode()
        {
            int result = 17;

            result = result * 37 + Max.GetHashCode();
            result = result * 37 + Actual.GetHashCode();
            result = result * 37 + Dispatch.GetHashCode();
            return(result);
        }
 /// <inheritdoc/>
 public override Int32 GetHashCode()
 {
     unchecked
     {
         var hash = 17;
         hash = hash * 23 + Min.GetHashCode();
         hash = hash * 23 + Max.GetHashCode();
         return(hash);
     }
 }
Example #11
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = Value.GetHashCode();
         hashCode = (hashCode * 397) ^ Max.GetHashCode();
         hashCode = (hashCode * 397) ^ Min.GetHashCode();
         return(hashCode);
     }
 }
Example #12
0
 /// <summary>
 ///   Serves as a hash function for a particular type.
 /// </summary>
 /// <returns>
 ///   A hash code for the current <see cref = "T:System.Object" />.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Min.GetHashCode();
         result = (result * 397) ^ Max.GetHashCode();
         result = (result * 397) ^ (To != null ? To.GetHashCode() : 0);
         return(result);
     }
 }
Example #13
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (LevelId != 0)
            {
                hash ^= LevelId.GetHashCode();
            }
            if (BeforeLevelId != 0)
            {
                hash ^= BeforeLevelId.GetHashCode();
            }
            if (AfterLevelId != 0)
            {
                hash ^= AfterLevelId.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            hash ^= abilities_.GetHashCode();
            hash ^= ItemMax.GetHashCode();
            hash ^= FansMax.GetHashCode();
            if (Max != 0)
            {
                hash ^= Max.GetHashCode();
            }
            hash ^= eventId_.GetHashCode();
            hash ^= StarSource.GetHashCode();
            hash ^= awards_.GetHashCode();
            if (GameType != 0)
            {
                hash ^= GameType.GetHashCode();
            }
            if (LevelInfoId != 0)
            {
                hash ^= LevelInfoId.GetHashCode();
            }
            if (ChapterGroup != 0)
            {
                hash ^= ChapterGroup.GetHashCode();
            }
            if (LevelMark.Length != 0)
            {
                hash ^= LevelMark.GetHashCode();
            }
            hash ^= LevelPlot.GetHashCode();
            hash ^= levelCoordinate_.GetHashCode();
            hash ^= levelBackdrop_.GetHashCode();
            if (levelExtra_ != null)
            {
                hash ^= LevelExtra.GetHashCode();
            }
            return(hash);
        }
Example #14
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = Mean.GetHashCode();
         result = (result*397) ^ Min.GetHashCode();
         result = (result*397) ^ Max.GetHashCode();
         result = (result*397) ^ Count.GetHashCode();
         return result;
     }
 }
Example #15
0
        public override int GetHashCode()
        {
            int hashCode = 75545093;

            hashCode = hashCode * -1521134295 + Min.GetHashCode();
            hashCode = hashCode * -1521134295 + Max.GetHashCode();
            hashCode = hashCode * -1521134295 + Letter.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Password);

            return(hashCode);
        }
Example #16
0
 /// <summary>
 /// Returns a hash code for this instance.
 /// </summary>
 /// <returns>
 /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
 /// </returns>
 public override int GetHashCode()
 {
     return(Min.GetHashCode() ^
            Q1.GetHashCode() ^
            Median.GetHashCode() ^
            Mean.GetHashCode() ^
            Q3.GetHashCode() ^
            Max.GetHashCode() ^
            StdDev.GetHashCode() ^
            N.GetHashCode());
 }
Example #17
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = FromSequenceNr.GetHashCode();
         hashCode = (hashCode * 397) ^ ToSequenceNr.GetHashCode();
         hashCode = (hashCode * 397) ^ Max.GetHashCode();
         hashCode = (hashCode * 397) ^ (PersistenceId != null ? PersistenceId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (PersistentActor != null ? PersistentActor.GetHashCode() : 0);
         return(hashCode);
     }
 }
Example #18
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (Area != null ? Area.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (Point != null ? Point.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ First.GetHashCode();
         hashCode = (hashCode * 397) ^ Max.GetHashCode();
         hashCode = (hashCode * 397) ^ Height.GetHashCode();
         hashCode = (hashCode * 397) ^ Rising.GetHashCode();
         return(hashCode);
     }
 }
Example #19
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Day.GetHashCode();
         hashCode = (hashCode * 397) ^ Min.GetHashCode();
         hashCode = (hashCode * 397) ^ Max.GetHashCode();
         hashCode = (hashCode * 397) ^ Night.GetHashCode();
         hashCode = (hashCode * 397) ^ Eve.GetHashCode();
         hashCode = (hashCode * 397) ^ Morn.GetHashCode();
         return(hashCode);
     }
 }
Example #20
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (Per100g != null)
         {
             hashCode = hashCode * 59 + Per100g.GetHashCode();
         }
         if (MeasurementUnit != null)
         {
             hashCode = hashCode * 59 + MeasurementUnit.GetHashCode();
         }
         if (Min != null)
         {
             hashCode = hashCode * 59 + Min.GetHashCode();
         }
         if (Max != null)
         {
             hashCode = hashCode * 59 + Max.GetHashCode();
         }
         if (Median != null)
         {
             hashCode = hashCode * 59 + Median.GetHashCode();
         }
         if (Rank != null)
         {
             hashCode = hashCode * 59 + Rank.GetHashCode();
         }
         if (DataPoints != null)
         {
             hashCode = hashCode * 59 + DataPoints.GetHashCode();
         }
         if (Footnote != null)
         {
             hashCode = hashCode * 59 + Footnote.GetHashCode();
         }
         if (Description != null)
         {
             hashCode = hashCode * 59 + Description.GetHashCode();
         }
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Max != 0)
            {
                hash ^= Max.GetHashCode();
            }
            hash ^= numbers_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #22
0
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         var hashCode = 41;
         // Suitable nullity checks etc, of course :)
             
             hashCode = hashCode * 59 + Min.GetHashCode();
             
             hashCode = hashCode * 59 + Max.GetHashCode();
             
             hashCode = hashCode * 59 + Mean.GetHashCode();
             
             hashCode = hashCode * 59 + Median.GetHashCode();
         return hashCode;
     }
 }
Example #23
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ShowIcon != false)
            {
                hash ^= ShowIcon.GetHashCode();
            }
            if (ShowLabel != false)
            {
                hash ^= ShowLabel.GetHashCode();
            }
            if (ShowGauge != false)
            {
                hash ^= ShowGauge.GetHashCode();
            }
            if (Style.Length != 0)
            {
                hash ^= Style.GetHashCode();
            }
            if (Min != 0D)
            {
                hash ^= Min.GetHashCode();
            }
            if (Max != 0D)
            {
                hash ^= Max.GetHashCode();
            }
            if (Label.Length != 0)
            {
                hash ^= Label.GetHashCode();
            }
            if (CustomLabel.Length != 0)
            {
                hash ^= CustomLabel.GetHashCode();
            }
            if (Inline != false)
            {
                hash ^= Inline.GetHashCode();
            }
            if (Zoom.Length != 0)
            {
                hash ^= Zoom.GetHashCode();
            }
            return(hash);
        }
Example #24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasMin)
            {
                hash ^= Min.GetHashCode();
            }
            if (HasMax)
            {
                hash ^= Max.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #25
0
    public override int GetHashCode()
    {
        var hashCode = 1173473123;

        hashCode = hashCode * -1521134295 + min.GetHashCode();
        hashCode = hashCode * -1521134295 + Min.GetHashCode();
        hashCode = hashCode * -1521134295 + max.GetHashCode();
        hashCode = hashCode * -1521134295 + Max.GetHashCode();
        hashCode = hashCode * -1521134295 + current.GetHashCode();
        hashCode = hashCode * -1521134295 + Current.GetHashCode();
        hashCode = hashCode * -1521134295 + IsMax.GetHashCode();
        hashCode = hashCode * -1521134295 + IsMin.GetHashCode();
        hashCode = hashCode * -1521134295 + Rest.GetHashCode();
        hashCode = hashCode * -1521134295 + Quarter.GetHashCode();
        hashCode = hashCode * -1521134295 + Half.GetHashCode();
        hashCode = hashCode * -1521134295 + Three_Fourths.GetHashCode();
        hashCode = hashCode * -1521134295 + One_Third.GetHashCode();
        return(hashCode);
    }
Example #26
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ns.Length != 0)
            {
                hash ^= Ns.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Kind != 0)
            {
                hash ^= Kind.GetHashCode();
            }
            if (Value != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Value);
            }
            if (count_ != null)
            {
                hash ^= Count.GetHashCode();
            }
            if (min_ != null)
            {
                hash ^= Min.GetHashCode();
            }
            if (max_ != null)
            {
                hash ^= Max.GetHashCode();
            }
            if (stdDev_ != null)
            {
                hash ^= StdDev.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #27
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = 0;
         result = (result * 397) ^ Min.GetHashCode();
         result = (result * 397) ^ Max.GetHashCode();
         foreach (var obj in Ps)
         {
             result = (result * 397) ^ (obj != null ? obj.GetHashCode() : 0);
         }
         foreach (var obj in Ls)
         {
             result = (result * 397) ^ (obj != null ? obj.GetHashCode() : 0);
         }
         foreach (var obj in LLs)
         {
             result = (result * 397) ^ obj.GetHashCode();
         }
         return(result);
     }
 }
Example #28
0
 public override int GetHashCode()
 {
     return(Min.GetHashCode() ^ Max.GetHashCode());
 }
Example #29
0
        public override int GetHashCode()
        {
            var hashCode = -1519320215;

            hashCode = hashCode * -1521134295 + IsStarted.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(TickerID);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Ticker);

            hashCode = hashCode * -1521134295 + Type.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FullName);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Prefix);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Currency);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ISIN);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ShortName);

            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ChartName);

            hashCode = hashCode * -1521134295 + Decimals.GetHashCode();
            hashCode = hashCode * -1521134295 + ForgDecimals.GetHashCode();
            hashCode = hashCode * -1521134295 + Open.GetHashCode();
            hashCode = hashCode * -1521134295 + Close.GetHashCode();
            hashCode = hashCode * -1521134295 + Last.GetHashCode();
            hashCode = hashCode * -1521134295 + LastHTML.GetHashCode();
            hashCode = hashCode * -1521134295 + LastSize.GetHashCode();
            hashCode = hashCode * -1521134295 + LastTime.GetHashCode();
            hashCode = hashCode * -1521134295 + LastHtmlTime.GetHashCode();
            hashCode = hashCode * -1521134295 + Change.GetHashCode();
            hashCode = hashCode * -1521134295 + ChangePercentage.GetHashCode();
            hashCode = hashCode * -1521134295 + Min.GetHashCode();
            hashCode = hashCode * -1521134295 + Max.GetHashCode();
            hashCode = hashCode * -1521134295 + DealsCount.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <List <StockDeal> > .Default.GetHashCode(Deals);

            hashCode = hashCode * -1521134295 + Traffic.GetHashCode();
            hashCode = hashCode * -1521134295 + TrafficCount.GetHashCode();
            hashCode = hashCode * -1521134295 + OpenInterest.GetHashCode();
            hashCode = hashCode * -1521134295 + Status.GetHashCode();
            hashCode = hashCode * -1521134295 + PanelJS.GetHashCode();
            hashCode = hashCode * -1521134295 + ID.GetHashCode();
            hashCode = hashCode * -1521134295 + RealTime.GetHashCode();
            hashCode = hashCode * -1521134295 + Pe2000.GetHashCode();
            hashCode = hashCode * -1521134295 + Pe2001.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseOneMonth.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <TimeSpan> .Default.GetHashCode(CloseOneMonthInterval);

            hashCode = hashCode * -1521134295 + CloseThreeMonth.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <TimeSpan> .Default.GetHashCode(CloseThreeMonthInterval);

            hashCode = hashCode * -1521134295 + CloseOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <TimeSpan> .Default.GetHashCode(CloseOneYearInterval);

            hashCode = hashCode * -1521134295 + OneMonthVolatility.GetHashCode();
            hashCode = hashCode * -1521134295 + ThreeMonthVolatility.GetHashCode();
            hashCode = hashCode * -1521134295 + OneYearVolatility.GetHashCode();
            hashCode = hashCode * -1521134295 + Eps2000.GetHashCode();
            hashCode = hashCode * -1521134295 + Eps2001.GetHashCode();
            hashCode = hashCode * -1521134295 + MinOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + MinOneYearAt.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxOneYearAt.GetHashCode();
            hashCode = hashCode * -1521134295 + MinOfAllTime.GetHashCode();
            hashCode = hashCode * -1521134295 + MinOfAllTimeAt.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxOfAllTime.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxOfAllTimeAt.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMinOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMinOneYearAt.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMaxOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMaxOneYearAt.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMinAllTime.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMinAllTimeAt.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMaxOfAllTime.GetHashCode();
            hashCode = hashCode * -1521134295 + CloseMaxAllTimeAt.GetHashCode();
            hashCode = hashCode * -1521134295 + TrafficAvgInSixMonth.GetHashCode();
            hashCode = hashCode * -1521134295 + TrafficAvgInOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + StartCount.GetHashCode();
            hashCode = hashCode * -1521134295 + Kapit.GetHashCode();
            hashCode = hashCode * -1521134295 + BuxKapit.GetHashCode();
            hashCode = hashCode * -1521134295 + ChangeInOneMonth.GetHashCode();
            hashCode = hashCode * -1521134295 + ChangeInThreeMonth.GetHashCode();
            hashCode = hashCode * -1521134295 + ChangeInOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + StartPrice.GetHashCode();
            hashCode = hashCode * -1521134295 + MinInOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + MaxInOneYear.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <ChartData> .Default.GetHashCode(ImageData);

            return(hashCode);
        }
 /// <summary>
 /// Gets the hash code
 /// </summary>
 /// <returns>Hash code</returns>
 public override int GetHashCode()
 {
     unchecked // Overflow is fine, just wrap
     {
         int hashCode = 41;
         if (Context != null)
         {
             hashCode = hashCode * 59 + Context.GetHashCode();
         }
         if (DefaultValue != null)
         {
             hashCode = hashCode * 59 + DefaultValue.GetHashCode();
         }
         if (Description != null)
         {
             hashCode = hashCode * 59 + Description.GetHashCode();
         }
         if (Label != null)
         {
             hashCode = hashCode * 59 + Label.GetHashCode();
         }
         if (Name != null)
         {
             hashCode = hashCode * 59 + Name.GetHashCode();
         }
         if (Required != null)
         {
             hashCode = hashCode * 59 + Required.GetHashCode();
         }
         if (Type != null)
         {
             hashCode = hashCode * 59 + Type.GetHashCode();
         }
         if (Min != null)
         {
             hashCode = hashCode * 59 + Min.GetHashCode();
         }
         if (Max != null)
         {
             hashCode = hashCode * 59 + Max.GetHashCode();
         }
         if (Stepsize != null)
         {
             hashCode = hashCode * 59 + Stepsize.GetHashCode();
         }
         if (Pattern != null)
         {
             hashCode = hashCode * 59 + Pattern.GetHashCode();
         }
         if (ReadOnly != null)
         {
             hashCode = hashCode * 59 + ReadOnly.GetHashCode();
         }
         if (Multiple != null)
         {
             hashCode = hashCode * 59 + Multiple.GetHashCode();
         }
         if (MultipleLimit != null)
         {
             hashCode = hashCode * 59 + MultipleLimit.GetHashCode();
         }
         if (GroupName != null)
         {
             hashCode = hashCode * 59 + GroupName.GetHashCode();
         }
         if (Advanced != null)
         {
             hashCode = hashCode * 59 + Advanced.GetHashCode();
         }
         if (Verify != null)
         {
             hashCode = hashCode * 59 + Verify.GetHashCode();
         }
         if (LimitToOptions != null)
         {
             hashCode = hashCode * 59 + LimitToOptions.GetHashCode();
         }
         if (Unit != null)
         {
             hashCode = hashCode * 59 + Unit.GetHashCode();
         }
         if (UnitLabel != null)
         {
             hashCode = hashCode * 59 + UnitLabel.GetHashCode();
         }
         if (Options != null)
         {
             hashCode = hashCode * 59 + Options.GetHashCode();
         }
         if (FilterCriteria != null)
         {
             hashCode = hashCode * 59 + FilterCriteria.GetHashCode();
         }
         return(hashCode);
     }
 }