long.GetHashCode()

Here are the examples of the csharp api long.GetHashCode() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1319 Examples 7

19 View Source File : Duration.cs
License : MIT License
Project Creator : bluexo

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (Seconds != 0L) hash ^= Seconds.GetHashCode();
      if (Nanos != 0) hash ^= Nanos.GetHashCode();
      return hash;
    }

19 View Source File : TagHeadOffsetManager.cs
License : Apache License 2.0
Project Creator : cdy816

public override int GetHashCode()
        {
            return Sum.GetHashCode()+Count.GetHashCode();
        }

19 View Source File : NmsSessionId.cs
License : Apache License 2.0
Project Creator : apache

public override int GetHashCode()
        {
            unchecked
            {
                return ((ConnectionId != null ? ConnectionId.GetHashCode() : 0) * 397) ^ Value.GetHashCode();
            }
        }

19 View Source File : Distance.cs
License : MIT License
Project Creator : azist

public override int GetHashCode() => ValueInMicrons.GetHashCode();

19 View Source File : PostObjectSigned.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.SignedUrl != null)
                    hash = hash * 59 + this.SignedUrl.GetHashCode();
                if (this.Expiration != null)
                    hash = hash * 59 + this.Expiration.GetHashCode();
                return hash;
            }
        }

19 View Source File : TrackedTime.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public override int GetHashCode()
        {
            // Overflow is fine, just wrap
            unchecked
            {
                int hashCode = 41;
                if (this.Created != null)
                {
                    hashCode = (hashCode * 59) + this.Created.GetHashCode();
                }

                if (this.Id != null)
                {
                    hashCode = (hashCode * 59) + this.Id.GetHashCode();
                }

                if (this.IssueId != null)
                {
                    hashCode = (hashCode * 59) + this.IssueId.GetHashCode();
                }

                if (this.Time != null)
                { 
                    hashCode = (hashCode * 59) + this.Time.GetHashCode();
                }

                if (this.UserId != null)
                {
                    hashCode = (hashCode * 59) + this.UserId.GetHashCode();
                }

                return hashCode;
            }
        }

19 View Source File : ObscuredLong.cs
License : GNU General Public License v3.0
Project Creator : cc004

public override int GetHashCode() => this.InternalDecrypt().GetHashCode();

19 View Source File : Range.cs
License : GNU General Public License v2.0
Project Creator : afrantzis

public override int GetHashCode()
	{
		return (start.GetHashCode() ^ end.GetHashCode());
	}

19 View Source File : TraceConfig.g.cs
License : Apache License 2.0
Project Creator : census-instrumentation

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (Qps != 0L) hash ^= Qps.GetHashCode();
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

19 View Source File : RawBuffer.cs
License : MIT License
Project Creator : Alan-FGR

public override unsafe int GetHashCode()
        {
            if (IntPtr.Size == 4)
            {
                var temp = Memory;
                return *((int*)&temp);
            }
            else
            {
                var temp = Memory;
                return (*((long*)&temp)).GetHashCode();
            }
        }

19 View Source File : IVolume.cs
License : MIT License
Project Creator : azist

public override int GetHashCode() => this.PageId.GetHashCode();

19 View Source File : File.cs
License : MIT License
Project Creator : Autodesk-Forge

public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;
                if (Id != null)
                    hash = hash * 486187739 + Id.GetHashCode();
                if (FileGuid != null)
                    hash = hash * 486187739 + FileGuid.GetHashCode();
                if (FileName != null)
                    hash = hash * 486187739 + FileName.GetHashCode();
                if (FileUrn != null)
                    hash = hash * 486187739 + FileUrn.GetHashCode();
                if (FilePath != null)
                    hash = hash * 486187739 + FilePath.GetHashCode();
                if (FileType != null)
                    hash = hash * 486187739 + FileType.GetHashCode();
                if (FileVersion != null)
                    hash = hash * 486187739 + FileVersion.GetHashCode();
                hash = hash * 486187739 + PublishedViewsCount.GetHashCode();
                hash = hash * 486187739 + PublishedSheetsCount.GetHashCode();
                hash = hash * 486187739 + FileSize.GetHashCode();
                if (FileModifiedDate != null)
                    hash = hash * 486187739 + FileModifiedDate.GetHashCode();
                if (UserCreate != null)
                    hash = hash * 486187739 + UserCreate.GetHashCode();
                if (UserLastModified != null)
                    hash = hash * 486187739 + UserLastModified.GetHashCode();
                return hash;
            }
        }

19 View Source File : PublicKey.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public override int GetHashCode()
        {
            // Overflow is fine, just wrap
            unchecked
            {
                int hashCode = 41;
                if (this.CreatedAt != null)
                {
                    hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode();
                }

                if (this.Fingerprint != null)
                {
                    hashCode = (hashCode * 59) + this.Fingerprint.GetHashCode();
                }

                if (this.Id != null)
                {
                    hashCode = (hashCode * 59) + this.Id.GetHashCode();
                }

                if (this.Key != null)
                {
                    hashCode = (hashCode * 59) + this.Key.GetHashCode();
                }

                if (this.replacedle != null)
                {
                    hashCode = (hashCode * 59) + this.replacedle.GetHashCode();
                }

                if (this.Url != null)
                {
                    hashCode = (hashCode * 59) + this.Url.GetHashCode();
                }

                return hashCode;
            }
        }

19 View Source File : ByteSize.cs
License : MIT License
Project Creator : Berrysoft

public override int GetHashCode() => Bytes.GetHashCode();

19 View Source File : ChainHelper.cs
License : MIT License
Project Creator : AElfProject

public static int GetChainId(long serialNumber)
        {
            // For 4 base58 chars use following range (2111 ~ zzzz):
            // Max: 57*58*58*58+57*58*58+57*58+57 = 11316496 (zzzz)
            // Min: 1*58*58*58+0*58*58+0*58+0 = 195112 (2111)
            var validNUmber = (uint) serialNumber.GetHashCode() % 11316496;
            if (validNUmber < 195112)
                validNUmber += 195112;

            var validNUmberBytes = validNUmber.ToBytes().Skip(1).ToArray();

            // Use BigInteger(BigEndian) format (bytes size = 3)
            Array.Resize(ref validNUmberBytes, 4);

            return validNUmberBytes.ToInt32(false);
        }

19 View Source File : LightMoney.cs
License : MIT License
Project Creator : btcpayserver

public override int GetHashCode()
        {
            return _MilliSatoshis.GetHashCode();
        }

19 View Source File : TimeUnit.cs
License : MIT License
Project Creator : AndreyAkinshin

public override int GetHashCode()
        {
            unchecked
            {
                int hashCode = (Name != null ? Name.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ NanosecondAmount.GetHashCode();
                return hashCode;
            }
        }

19 View Source File : ScriptFileId.cs
License : MIT License
Project Creator : cdiggins

public override int GetHashCode()
        {
            unchecked
            {
                int hash = 17;
                hash = hash * 31 + Length.GetHashCode();
                hash = hash * 31 + LastWriteTime.GetHashCode();
                hash = hash * 31 + Path.GetHashCode();
                return hash;
            }
        }

19 View Source File : LineItem.cs
License : MIT License
Project Creator : Adyen

public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;
                if (this.AmountExcludingTax != null)
                    hashCode = hashCode * 59 + this.AmountExcludingTax.GetHashCode();
                if (this.AmountIncludingTax != null)
                    hashCode = hashCode * 59 + this.AmountIncludingTax.GetHashCode();
                if (this.Description != null)
                    hashCode = hashCode * 59 + this.Description.GetHashCode();
                if (this.Id != null)
                    hashCode = hashCode * 59 + this.Id.GetHashCode();
                if (this.ImageUrl != null)
                    hashCode = hashCode * 59 + this.ImageUrl.GetHashCode();
                if (this.ProductUrl != null)
                    hashCode = hashCode * 59 + this.ProductUrl.GetHashCode();
                if (this.Quanreplacedy != null)
                    hashCode = hashCode * 59 + this.Quanreplacedy.GetHashCode();
                if (this.TaxAmount != null)
                    hashCode = hashCode * 59 + this.TaxAmount.GetHashCode();
                if (this.TaxCategory != null)
                    hashCode = hashCode * 59 + this.TaxCategory.GetHashCode();
                if (this.TaxPercentage != null)
                    hashCode = hashCode * 59 + this.TaxPercentage.GetHashCode();
                return hashCode;
            }
        }

19 View Source File : TraceConfig.g.cs
License : Apache License 2.0
Project Creator : census-instrumentation

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (samplerCase_ == SamplerOneofCase.ProbabilitySampler) hash ^= ProbabilitySampler.GetHashCode();
      if (samplerCase_ == SamplerOneofCase.ConstantSampler) hash ^= ConstantSampler.GetHashCode();
      if (samplerCase_ == SamplerOneofCase.RateLimitingSampler) hash ^= RateLimitingSampler.GetHashCode();
      if (MaxNumberOfAttributes != 0L) hash ^= MaxNumberOfAttributes.GetHashCode();
      if (MaxNumberOfAnnotations != 0L) hash ^= MaxNumberOfAnnotations.GetHashCode();
      if (MaxNumberOfMessageEvents != 0L) hash ^= MaxNumberOfMessageEvents.GetHashCode();
      if (MaxNumberOfLinks != 0L) hash ^= MaxNumberOfLinks.GetHashCode();
      hash ^= (int) samplerCase_;
      if (_unknownFields != null) {
        hash ^= _unknownFields.GetHashCode();
      }
      return hash;
    }

19 View Source File : BucketsItems.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.BucketKey != null)
                    hash = hash * 59 + this.BucketKey.GetHashCode();
                if (this.CreatedDate != null)
                    hash = hash * 59 + this.CreatedDate.GetHashCode();
                if (this.PolicyKey != null)
                    hash = hash * 59 + this.PolicyKey.GetHashCode();
                return hash;
            }
        }

19 View Source File : OAuthError.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.ErrorMessage != null)
                    hash = hash * 59 + this.ErrorMessage.GetHashCode();
                if (this.ErrorCode != null)
                    hash = hash * 59 + this.ErrorCode.GetHashCode();
                if (this.ErrorResponse != null)
                    hash = hash * 59 + this.ErrorResponse.GetHashCode();
                return hash;
            }
        }

19 View Source File : Amount.cs
License : MIT License
Project Creator : Adyen

public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hashCode = 41;
                if (this.Currency != null)
                    hashCode = hashCode * 59 + this.Currency.GetHashCode();
                if (this.Value != null)
                    hashCode = hashCode * 59 + this.Value.GetHashCode();
                return hashCode;
            }
        }

19 View Source File : VersionAttributes.cs
License : Apache License 2.0
Project Creator : Autodesk-Forge

public override int GetHashCode()
        {
            // credit: http://stackoverflow.com/a/263416/677735
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.Name != null)
                    hash = hash * 59 + this.Name.GetHashCode();
                if (this.DisplayName != null)
                    hash = hash * 59 + this.DisplayName.GetHashCode();
                if (this.VersionNumber != null)
                    hash = hash * 59 + this.VersionNumber.GetHashCode();
                if (this.MimeType != null)
                    hash = hash * 59 + this.MimeType.GetHashCode();
                if (this.FileType != null)
                    hash = hash * 59 + this.FileType.GetHashCode();
                if (this.StorageSize != null)
                    hash = hash * 59 + this.StorageSize.GetHashCode();
                if (this.Extension != null)
                    hash = hash * 59 + this.Extension.GetHashCode();
                return hash;
            }
        }

19 View Source File : SnapshotRule.cs
License : MIT License
Project Creator : alexis-

public override int GetHashCode()
    {
      return Id.GetHashCode();
    }

19 View Source File : IndexingPrimitives.cs
License : MIT License
Project Creator : azist

public override int GetHashCode() => Value.GetHashCode() ^ Bookmark.GetHashCode();

19 View Source File : NormalSolver.cs
License : MIT License
Project Creator : AximoGames

public override int GetHashCode()
            {
                long rv = FNV32Init;
                rv ^= _x;
                rv *= FNV32Prime;
                rv ^= _y;
                rv *= FNV32Prime;
                rv ^= _z;
                rv *= FNV32Prime;

                return rv.GetHashCode();
            }

19 View Source File : GPGKey.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public override int GetHashCode()
        {
            // Overflow is fine, just wrap
            unchecked
            {
                int hashCode = 41;
                if (this.CanCertify != null)
                {
                    hashCode = (hashCode * 59) + this.CanCertify.GetHashCode();
                }

                if (this.CanEncryptComms != null)
                {
                    hashCode = (hashCode * 59) + this.CanEncryptComms.GetHashCode();
                }

                if (this.CanEncryptStorage != null)
                {
                    hashCode = (hashCode * 59) + this.CanEncryptStorage.GetHashCode();
                }

                if (this.CanSign != null)
                {
                    hashCode = (hashCode * 59) + this.CanSign.GetHashCode();
                }

                if (this.CreatedAt != null)
                {
                    hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode();
                }

                if (this.Emails != null)
                {
                    hashCode = (hashCode * 59) + this.Emails.GetHashCode();
                }

                if (this.ExpiresAt != null)
                {
                    hashCode = (hashCode * 59) + this.ExpiresAt.GetHashCode();
                }

                if (this.Id != null)
                {
                    hashCode = (hashCode * 59) + this.Id.GetHashCode();
                }

                if (this.KeyId != null)
                {
                    hashCode = (hashCode * 59) + this.KeyId.GetHashCode();
                }

                if (this.PrimaryKeyId != null)
                {
                    hashCode = (hashCode * 59) + this.PrimaryKeyId.GetHashCode();
                }

                if (this.PublicKey != null)
                {
                    hashCode = (hashCode * 59) + this.PublicKey.GetHashCode();
                }

                if (this.Subkeys != null)
                {
                    hashCode = (hashCode * 59) + this.Subkeys.GetHashCode();
                }

                return hashCode;
            }
        }

19 View Source File : KeyStructs.cs
License : MIT License
Project Creator : azist

public override int GetHashCode()
    {
      return GDID1.GetHashCode() ^ GDID2.GetHashCode() ^ ISO ^ PAYLOAD.GetHashCode();
    }

19 View Source File : RedisLiteHelper.cs
License : MIT License
Project Creator : AElfProject

public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = (Host != null ? Host.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ Port;
                hashCode = (hashCode * 397) ^ Ssl.GetHashCode();
                hashCode = (hashCode * 397) ^ ConnectTimeout;
                hashCode = (hashCode * 397) ^ SendTimeout;
                hashCode = (hashCode * 397) ^ ReceiveTimeout;
                hashCode = (hashCode * 397) ^ RetryTimeout;
                hashCode = (hashCode * 397) ^ IdleTimeOutSecs;
                hashCode = (hashCode * 397) ^ Db.GetHashCode();
                hashCode = (hashCode * 397) ^ (Client != null ? Client.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Preplacedword != null ? Preplacedword.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (NamespacePrefix != null ? NamespacePrefix.GetHashCode() : 0);
                return hashCode;
            }
        }

19 View Source File : Compression.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : b4rtik

public override int GetHashCode()
        {
            return Position.GetHashCode() ^ Length.GetHashCode() ^ Offset.GetHashCode();
        }

19 View Source File : Repository.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public override int GetHashCode()
        {
            // Overflow is fine, just wrap
            unchecked
            {
                int hashCode = 41;
                if (this.CloneUrl != null)
                {
                    hashCode = (hashCode * 59) + this.CloneUrl.GetHashCode();
                }

                if (this.CreatedAt != null)
                {
                    hashCode = (hashCode * 59) + this.CreatedAt.GetHashCode();
                }

                if (this.DefaultBranch != null)
                {
                    hashCode = (hashCode * 59) + this.DefaultBranch.GetHashCode();
                }

                if (this.Description != null)
                {
                    hashCode = (hashCode * 59) + this.Description.GetHashCode();
                }

                if (this.Empty != null)
                {
                    hashCode = (hashCode * 59) + this.Empty.GetHashCode();
                }

                if (this.Fork != null)
                {
                    hashCode = (hashCode * 59) + this.Fork.GetHashCode();
                }

                if (this.ForksCount != null)
                {
                    hashCode = (hashCode * 59) + this.ForksCount.GetHashCode();
                }

                if (this.FullName != null)
                {
                    hashCode = (hashCode * 59) + this.FullName.GetHashCode();
                }

                if (this.HtmlUrl != null)
                {
                    hashCode = (hashCode * 59) + this.HtmlUrl.GetHashCode();
                }

                if (this.Id != null)
                {
                    hashCode = (hashCode * 59) + this.Id.GetHashCode();
                }

                if (this.Mirror != null)
                {
                    hashCode = (hashCode * 59) + this.Mirror.GetHashCode();
                }

                if (this.Name != null)
                {
                    hashCode = (hashCode * 59) + this.Name.GetHashCode();
                }

                if (this.OreplacedsuesCount != null)
                {
                    hashCode = (hashCode * 59) + this.OreplacedsuesCount.GetHashCode();
                }

                if (this.Owner != null)
                {
                    hashCode = (hashCode * 59) + this.Owner.GetHashCode();
                }

                if (this.Parent != null)
                {
                    hashCode = (hashCode * 59) + this.Parent.GetHashCode();
                }

                if (this.Permissions != null)
                {
                    hashCode = (hashCode * 59) + this.Permissions.GetHashCode();
                }

                if (this.IsPrivate != null)
                {
                    hashCode = (hashCode * 59) + this.IsPrivate.GetHashCode();
                }

                if (this.Size != null)
                {
                    hashCode = (hashCode * 59) + this.Size.GetHashCode();
                }

                if (this.SshUrl != null)
                {
                    hashCode = (hashCode * 59) + this.SshUrl.GetHashCode();
                }

                if (this.StarsCount != null)
                {
                    hashCode = (hashCode * 59) + this.StarsCount.GetHashCode();
                }

                if (this.UpdatedAt != null)
                {
                    hashCode = (hashCode * 59) + this.UpdatedAt.GetHashCode();
                }

                if (this.WatchersCount != null)
                {
                    hashCode = (hashCode * 59) + this.WatchersCount.GetHashCode();
                }

                if (this.Website != null)
                {
                    hashCode = (hashCode * 59) + this.Website.GetHashCode();
                }

                return hashCode;
            }
        }

19 View Source File : LimitRule.cs
License : MIT License
Project Creator : bitbrute

public override int GetHashCode()
            => UploadRate.GetHashCode() ^ UploadBurst.GetHashCode() ^ DownloadRate.GetHashCode() ^ DownloadBurst.GetHashCode();

19 View Source File : StreamExtent.cs
License : MIT License
Project Creator : ADeltaX

public override int GetHashCode()
        {
            return Start.GetHashCode() ^ Length.GetHashCode();
        }

19 View Source File : Wrappers.cs
License : MIT License
Project Creator : bluexo

[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
    public override int GetHashCode() {
      int hash = 1;
      if (Value != 0L) hash ^= Value.GetHashCode();
      return hash;
    }

19 View Source File : User.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn

public override int GetHashCode()
        {
            // Overflow is fine, just wrap
            unchecked
            {
                int hashCode = 41;
                if (this.AvatarUrl != null)
                {
                    hashCode = (hashCode * 59) + this.AvatarUrl.GetHashCode();
                }

                if (this.Email != null)
                {
                    hashCode = (hashCode * 59) + this.Email.GetHashCode();
                }

                if (this.FullName != null)
                {
                    hashCode = (hashCode * 59) + this.FullName.GetHashCode();
                }

                if (this.Id != null)
                {
                    hashCode = (hashCode * 59) + this.Id.GetHashCode();
                }

                if (this.Login != null)
                {
                    hashCode = (hashCode * 59) + this.Login.GetHashCode();
                }

                return hashCode;
            }
        }

19 View Source File : ActivatedJob.cs
License : Apache License 2.0
Project Creator : camunda-community-hub

public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = Key.GetHashCode();
                hashCode = (hashCode * 397) ^ (Type != null ? Type.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ ProcessInstanceKey.GetHashCode();
                hashCode = (hashCode * 397) ^ (BpmnProcessId != null ? BpmnProcessId.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ ProcessDefinitionVersion;
                hashCode = (hashCode * 397) ^ ProcessDefinitionKey.GetHashCode();
                hashCode = (hashCode * 397) ^ (ElementId != null ? ElementId.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ ElementInstanceKey.GetHashCode();
                hashCode = (hashCode * 397) ^ (Worker != null ? Worker.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ Retries;
                hashCode = (hashCode * 397) ^ Deadline.GetHashCode();
                hashCode = (hashCode * 397) ^ (Variables != null ? Variables.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (CustomHeaders != null ? CustomHeaders.GetHashCode() : 0);
                return hashCode;
            }
        }

19 View Source File : BigPosition.cs
License : The Unlicense
Project Creator : aeroson

public override int GetHashCode()
	{
		return insideSectorPosition.GetHashCode() ^ sectorX.GetHashCode() ^ sectorY.GetHashCode() ^ sectorZ.GetHashCode();
	}

19 View Source File : AssetID.cs
License : GNU General Public License v3.0
Project Creator : cc004

public override int GetHashCode()
        {
            int hash = 17;
            hash = hash * 23 + fileName.GetHashCode();
            hash = hash * 23 + pathID.GetHashCode();
            return hash;
        }

19 View Source File : NmsConsumerId.cs
License : Apache License 2.0
Project Creator : apache

public override int GetHashCode()
        {
            unchecked
            {
                return (Value.GetHashCode() * 397) ^ (SessionId != null ? SessionId.GetHashCode() : 0);
            }
        }

19 View Source File : PreciseTimeSpan.cs
License : Apache License 2.0
Project Creator : cdy816

public override int GetHashCode() => this.ticks.GetHashCode();

19 View Source File : DisplayDataSize.cs
License : MIT License
Project Creator : Accelerider

public override int GetHashCode() => Value.GetHashCode();

19 View Source File : ScriptableObjectProvider.cs
License : MIT License
Project Creator : CefNet

public override int GetHashCode()
		{
			return _frameId.GetHashCode();
		}

19 View Source File : LongArgumentType.cs
License : MIT License
Project Creator : AtomicBlom

public override int GetHashCode()
		{
			return 31 * Minimum.GetHashCode() + Maximum.GetHashCode();
		}

19 View Source File : ProducerRecord.cs
License : Apache License 2.0
Project Creator : akkadotnet

public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = (Topic != null ? Topic.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ Parreplacedion.GetHashCode();
                hashCode = (hashCode * 397) ^ Timestamp.GetHashCode();
                hashCode = (hashCode * 397) ^ (Message != null ? Message.GetHashCode() : 0);
                return hashCode;
            }
        }

19 View Source File : BssomNumber.cs
License : MIT License
Project Creator : 1996v

public override int GetHashCode()
        {
            switch (NumberType)
            {
                case BssomNumberType.Byte:
                    return GetByte().GetHashCode();
                case BssomNumberType.SByte:
                    return GetSByte().GetHashCode();
                case BssomNumberType.Short:
                    return GetShort().GetHashCode();
                case BssomNumberType.Int:
                    return GetInt().GetHashCode();
                case BssomNumberType.Long:
                    return GetLong().GetHashCode();
                case BssomNumberType.UShort:
                    return GetUShort().GetHashCode();
                case BssomNumberType.UInt:
                    return GetUInt().GetHashCode();
                default://case BssomNumberType.ULong:
                    return GetULong().GetHashCode();
            }
        }

19 View Source File : FileContainer.cs
License : MIT License
Project Creator : actions

public override int GetHashCode()
        {
            return this.Id.GetHashCode();
        }

19 View Source File : Amount.cs
License : MIT License
Project Creator : Adyen

public override int GetHashCode()
        {
            unchecked // Overflow is fine, just wrap
            {
                int hash = 41;
                // Suitable nullity checks etc, of course :)
                if (this.Currency != null)
                    hash = hash * 59 + this.Currency.GetHashCode();
                if (this.Value != null)
                    hash = hash * 59 + this.Value.GetHashCode();
                return hash;
            }
        }

19 View Source File : BEncodedNumber.cs
License : MIT License
Project Creator : aljazsim

public override int GetHashCode()
        {
            return this.number.GetHashCode();
        }

19 View Source File : DataStoreKeys.cs
License : MIT License
Project Creator : azist

public override int GetHashCode() => Counter.GetHashCode();

See More Examples