Here are the examples of the csharp api bool.GetHashCode() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1910 Examples
19
View Source File : JobBars.Item.cs
License : GNU Affero General Public License v3.0
Project Creator : 0ceal0t
License : GNU Affero General Public License v3.0
Project Creator : 0ceal0t
public override int GetHashCode() {
int hash = 13;
hash = (hash * 7) + Id.GetHashCode();
hash = (hash * 7) + (Type == ItemType.Buff).GetHashCode();
return hash;
}
19
View Source File : ExprFunctionName.cs
License : MIT License
Project Creator : 0x1000000
License : MIT License
Project Creator : 0x1000000
public override int GetHashCode()
{
unchecked
{
return (this.BuiltIn.GetHashCode() * 397) ^ this.Name.GetHashCode();
}
}
19
View Source File : BssomBoolean.cs
License : MIT License
Project Creator : 1996v
License : MIT License
Project Creator : 1996v
public override int GetHashCode()
{
return GetBoolean().GetHashCode();
}
19
View Source File : SimpleJSON.cs
License : MIT License
Project Creator : 71
License : MIT License
Project Creator : 71
public override int GetHashCode()
{
return m_Data.GetHashCode();
}
19
View Source File : GUISettings.cs
License : MIT License
Project Creator : a1xd
License : MIT License
Project Creator : a1xd
public override int GetHashCode()
{
return DPI.GetHashCode() ^
PollRate.GetHashCode() ^
ShowLastMouseMove.GetHashCode() ^
ShowVelocityAndGain.GetHashCode() ^
AutoWriteToDriverOnStartup.GetHashCode() ^
StreamingMode.GetHashCode();
}
19
View Source File : BSPLeaf.cs
License : GNU Affero General Public License v3.0
Project Creator : ACEmulator
License : GNU Affero General Public License v3.0
Project Creator : ACEmulator
public override int GetHashCode()
{
var hash = base.GetHashCode();
hash = (hash * 397) ^ LeafIdx.GetHashCode();
hash = (hash * 397) ^ Solid.GetHashCode();
return hash;
}
19
View Source File : SuppressionManagerInitInfo.cs
License : GNU General Public License v3.0
Project Creator : Acumatica
License : GNU General Public License v3.0
Project Creator : Acumatica
public override int GetHashCode()
{
int hash = 17;
unchecked
{
hash = 23 * hash + (Path?.ToUpperInvariant().GetHashCode() ?? 0);
hash = 23 * hash + GenerateSuppressionBase.GetHashCode();
}
return hash;
}
19
View Source File : CodeAnalysisSettings.cs
License : GNU General Public License v3.0
Project Creator : Acumatica
License : GNU General Public License v3.0
Project Creator : Acumatica
public override int GetHashCode()
{
int hash = 17;
unchecked
{
hash = 23 * hash + RecursivereplacedysisEnabled.GetHashCode();
hash = 23 * hash + IsvSpecificreplacedyzersEnabled.GetHashCode();
hash = 23 * hash + StaticreplacedysisEnabled.GetHashCode();
hash = 23 * hash + SuppressionMechanismEnabled.GetHashCode();
hash = 23 * hash + PX1007DoreplacedentationDiagnosticEnabled.GetHashCode();
}
return hash;
}
19
View Source File : PaymentLinkResource.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AllowedPaymentMethods != null)
hashCode = hashCode * 59 + this.AllowedPaymentMethods.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.ApplicationInfo != null)
hashCode = hashCode * 59 + this.ApplicationInfo.GetHashCode();
if (this.BillingAddress != null)
hashCode = hashCode * 59 + this.BillingAddress.GetHashCode();
if (this.BlockedPaymentMethods != null)
hashCode = hashCode * 59 + this.BlockedPaymentMethods.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.DeliverAt != null)
hashCode = hashCode * 59 + this.DeliverAt.GetHashCode();
if (this.DeliveryAddress != null)
hashCode = hashCode * 59 + this.DeliveryAddress.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.ExpiresAt != null)
hashCode = hashCode * 59 + this.ExpiresAt.GetHashCode();
if (this.Id != null)
hashCode = hashCode * 59 + this.Id.GetHashCode();
if (this.LineItems != null)
hashCode = hashCode * 59 + this.LineItems.GetHashCode();
if (this.MerchantAccount != null)
hashCode = hashCode * 59 + this.MerchantAccount.GetHashCode();
if (this.MerchantOrderReference != null)
hashCode = hashCode * 59 + this.MerchantOrderReference.GetHashCode();
if (this.RecurringProcessingModel != null)
hashCode = hashCode * 59 + this.RecurringProcessingModel.GetHashCode();
if (this.Reference != null)
hashCode = hashCode * 59 + this.Reference.GetHashCode();
if (this.ReturnUrl != null)
hashCode = hashCode * 59 + this.ReturnUrl.GetHashCode();
if (this.Reusable != null)
hashCode = hashCode * 59 + this.Reusable.GetHashCode();
if (this.RiskData != null)
hashCode = hashCode * 59 + this.RiskData.GetHashCode();
if (this.ShopperEmail != null)
hashCode = hashCode * 59 + this.ShopperEmail.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
if (this.ShopperName != null)
hashCode = hashCode * 59 + this.ShopperName.GetHashCode();
if (this.ShopperReference != null)
hashCode = hashCode * 59 + this.ShopperReference.GetHashCode();
if (this.Splits != null)
hashCode = hashCode * 59 + this.Splits.GetHashCode();
if (this.Status != null)
hashCode = hashCode * 59 + this.Status.GetHashCode();
if (this.Store != null)
hashCode = hashCode * 59 + this.Store.GetHashCode();
if (this.StorePaymentMethod != null)
hashCode = hashCode * 59 + this.StorePaymentMethod.GetHashCode();
if (this.Url != null)
hashCode = hashCode * 59 + this.Url.GetHashCode();
return hashCode;
}
}
19
View Source File : MerchantRiskIndicator.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AddressMatch != null)
hashCode = hashCode * 59 + this.AddressMatch.GetHashCode();
if (this.DeliveryAddressIndicator != null)
hashCode = hashCode * 59 + this.DeliveryAddressIndicator.GetHashCode();
if (this.DeliveryEmail != null)
hashCode = hashCode * 59 + this.DeliveryEmail.GetHashCode();
if (this.DeliveryTimeframe != null)
hashCode = hashCode * 59 + this.DeliveryTimeframe.GetHashCode();
if (this.GiftCardAmount != null)
hashCode = hashCode * 59 + this.GiftCardAmount.GetHashCode();
if (this.GiftCardCount != null)
hashCode = hashCode * 59 + this.GiftCardCount.GetHashCode();
if (this.PreOrderDate != null)
hashCode = hashCode * 59 + this.PreOrderDate.GetHashCode();
if (this.PreOrderPurchase != null)
hashCode = hashCode * 59 + this.PreOrderPurchase.GetHashCode();
if (this.ReorderItems != null)
hashCode = hashCode * 59 + this.ReorderItems.GetHashCode();
return hashCode;
}
}
19
View Source File : AccountInfo.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountAgeIndicator != null)
hashCode = hashCode * 59 + this.AccountAgeIndicator.GetHashCode();
if (this.AccountChangeDate != null)
hashCode = hashCode * 59 + this.AccountChangeDate.GetHashCode();
if (this.AccountChangeIndicator != null)
hashCode = hashCode * 59 + this.AccountChangeIndicator.GetHashCode();
if (this.AccountCreationDate != null)
hashCode = hashCode * 59 + this.AccountCreationDate.GetHashCode();
if (this.AccountType != null)
hashCode = hashCode * 59 + this.AccountType.GetHashCode();
if (this.AddCardAttemptsDay != null)
hashCode = hashCode * 59 + this.AddCardAttemptsDay.GetHashCode();
if (this.DeliveryAddressUsageDate != null)
hashCode = hashCode * 59 + this.DeliveryAddressUsageDate.GetHashCode();
if (this.DeliveryAddressUsageIndicator != null)
hashCode = hashCode * 59 + this.DeliveryAddressUsageIndicator.GetHashCode();
if (this.HomePhone != null)
hashCode = hashCode * 59 + this.HomePhone.GetHashCode();
if (this.MobilePhone != null)
hashCode = hashCode * 59 + this.MobilePhone.GetHashCode();
if (this.PreplacedwordChangeDate != null)
hashCode = hashCode * 59 + this.PreplacedwordChangeDate.GetHashCode();
if (this.PreplacedwordChangeIndicator != null)
hashCode = hashCode * 59 + this.PreplacedwordChangeIndicator.GetHashCode();
if (this.PastTransactionsDay != null)
hashCode = hashCode * 59 + this.PastTransactionsDay.GetHashCode();
if (this.PastTransactionsYear != null)
hashCode = hashCode * 59 + this.PastTransactionsYear.GetHashCode();
if (this.PaymentAccountAge != null)
hashCode = hashCode * 59 + this.PaymentAccountAge.GetHashCode();
if (this.PaymentAccountIndicator != null)
hashCode = hashCode * 59 + this.PaymentAccountIndicator.GetHashCode();
if (this.PurchasesLast6Months != null)
hashCode = hashCode * 59 + this.PurchasesLast6Months.GetHashCode();
if (this.SuspiciousActivity != null)
hashCode = hashCode * 59 + this.SuspiciousActivity.GetHashCode();
if (this.WorkPhone != null)
hashCode = hashCode * 59 + this.WorkPhone.GetHashCode();
return hashCode;
}
}
19
View Source File : BrowserInfo.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AcceptHeader != null)
hashCode = hashCode * 59 + this.AcceptHeader.GetHashCode();
if (this.ColorDepth != null)
hashCode = hashCode * 59 + this.ColorDepth.GetHashCode();
if (this.JavaEnabled != null)
hashCode = hashCode * 59 + this.JavaEnabled.GetHashCode();
if (this.JavaScriptEnabled != null)
hashCode = hashCode * 59 + this.JavaScriptEnabled.GetHashCode();
if (this.Language != null)
hashCode = hashCode * 59 + this.Language.GetHashCode();
if (this.ScreenHeight != null)
hashCode = hashCode * 59 + this.ScreenHeight.GetHashCode();
if (this.ScreenWidth != null)
hashCode = hashCode * 59 + this.ScreenWidth.GetHashCode();
if (this.TimeZoneOffset != null)
hashCode = hashCode * 59 + this.TimeZoneOffset.GetHashCode();
if (this.UserAgent != null)
hashCode = hashCode * 59 + this.UserAgent.GetHashCode();
return hashCode;
}
}
19
View Source File : Avs.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AddressEditable != null)
hashCode = hashCode * 59 + this.AddressEditable.GetHashCode();
if (this.Enabled != null)
hashCode = hashCode * 59 + this.Enabled.GetHashCode();
return hashCode;
}
}
19
View Source File : CreatePaymentLinkRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AllowedPaymentMethods != null)
hashCode = hashCode * 59 + this.AllowedPaymentMethods.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.ApplicationInfo != null)
hashCode = hashCode * 59 + this.ApplicationInfo.GetHashCode();
if (this.BillingAddress != null)
hashCode = hashCode * 59 + this.BillingAddress.GetHashCode();
if (this.BlockedPaymentMethods != null)
hashCode = hashCode * 59 + this.BlockedPaymentMethods.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.DeliverAt != null)
hashCode = hashCode * 59 + this.DeliverAt.GetHashCode();
if (this.DeliveryAddress != null)
hashCode = hashCode * 59 + this.DeliveryAddress.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.ExpiresAt != null)
hashCode = hashCode * 59 + this.ExpiresAt.GetHashCode();
if (this.InstallmentOptions != null)
hashCode = hashCode * 59 + this.InstallmentOptions.GetHashCode();
if (this.LineItems != null)
hashCode = hashCode * 59 + this.LineItems.GetHashCode();
if (this.MerchantAccount != null)
hashCode = hashCode * 59 + this.MerchantAccount.GetHashCode();
if (this.MerchantOrderReference != null)
hashCode = hashCode * 59 + this.MerchantOrderReference.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.RecurringProcessingModel != null)
hashCode = hashCode * 59 + this.RecurringProcessingModel.GetHashCode();
if (this.Reference != null)
hashCode = hashCode * 59 + this.Reference.GetHashCode();
if (this.ReturnUrl != null)
hashCode = hashCode * 59 + this.ReturnUrl.GetHashCode();
if (this.Reusable != null)
hashCode = hashCode * 59 + this.Reusable.GetHashCode();
if (this.RiskData != null)
hashCode = hashCode * 59 + this.RiskData.GetHashCode();
if (this.ShopperEmail != null)
hashCode = hashCode * 59 + this.ShopperEmail.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
if (this.ShopperName != null)
hashCode = hashCode * 59 + this.ShopperName.GetHashCode();
if (this.ShopperReference != null)
hashCode = hashCode * 59 + this.ShopperReference.GetHashCode();
if (this.Splits != null)
hashCode = hashCode * 59 + this.Splits.GetHashCode();
if (this.Store != null)
hashCode = hashCode * 59 + this.Store.GetHashCode();
if (this.StorePaymentMethod != null)
hashCode = hashCode * 59 + this.StorePaymentMethod.GetHashCode();
return hashCode;
}
}
19
View Source File : DefaultPaymentMethodDetails.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
if (this.Number != null)
hashCode = hashCode * 59 + this.Number.GetHashCode();
if (this.ExpiryMonth != null)
hashCode = hashCode * 59 + this.ExpiryMonth.GetHashCode();
if (this.ExpiryYear != null)
hashCode = hashCode * 59 + this.ExpiryYear.GetHashCode();
if (this.HolderName != null)
hashCode = hashCode * 59 + this.HolderName.GetHashCode();
if (this.Cvc != null)
hashCode = hashCode * 59 + this.Cvc.GetHashCode();
if (this.InstallmentConfigurationKey != null)
hashCode = hashCode * 59 + this.InstallmentConfigurationKey.GetHashCode();
if (this.PersonalDetails != null)
hashCode = hashCode * 59 + this.PersonalDetails.GetHashCode();
if (this.BillingAddress != null)
hashCode = hashCode * 59 + this.BillingAddress.GetHashCode();
if (this.DeliveryAddress != null)
hashCode = hashCode * 59 + this.DeliveryAddress.GetHashCode();
if (this.EncryptedCardNumber != null)
hashCode = hashCode * 59 + this.EncryptedCardNumber.GetHashCode();
if (this.EncryptedExpiryMonth != null)
hashCode = hashCode * 59 + this.EncryptedExpiryMonth.GetHashCode();
if (this.EncryptedExpiryYear != null)
hashCode = hashCode * 59 + this.EncryptedExpiryYear.GetHashCode();
if (this.EncryptedSecurityCode != null)
hashCode = hashCode * 59 + this.EncryptedSecurityCode.GetHashCode();
#pragma warning disable 618
if (this.RecurringDetailReference != null)
hashCode = hashCode * 59 + this.RecurringDetailReference.GetHashCode();
#pragma warning restore 618
if (this.StoredPaymentMethodId != null)
hashCode = hashCode * 59 + this.StoredPaymentMethodId.GetHashCode();
hashCode = hashCode * 59 + this.StoreDetails.GetHashCode();
if (this.Issuer != null)
hashCode = hashCode * 59 + this.Issuer.GetHashCode();
if (this.SepaOwnerName != null)
hashCode = hashCode * 59 + this.SepaOwnerName.GetHashCode();
if (this.SepaIbanNumber != null)
hashCode = hashCode * 59 + this.SepaIbanNumber.GetHashCode();
if (this.BankAccount != null)
hashCode = hashCode * 59 + this.BankAccount.GetHashCode();
if (this.Issuer != null)
hashCode = hashCode * 59 + this.Issuer.GetHashCode();
return hashCode;
}
}
19
View Source File : InputDetail.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Configuration != null)
hashCode = hashCode * 59 + this.Configuration.GetHashCode();
if (this.Details != null)
hashCode = hashCode * 59 + this.Details.GetHashCode();
if (this.InputDetails != null)
hashCode = hashCode * 59 + this.InputDetails.GetHashCode();
if (this.ItemSearchUrl != null)
hashCode = hashCode * 59 + this.ItemSearchUrl.GetHashCode();
if (this.Items != null)
hashCode = hashCode * 59 + this.Items.GetHashCode();
if (this.Key != null)
hashCode = hashCode * 59 + this.Key.GetHashCode();
if (this.Optional != null)
hashCode = hashCode * 59 + this.Optional.GetHashCode();
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
if (this.Value != null)
hashCode = hashCode * 59 + this.Value.GetHashCode();
return hashCode;
}
}
19
View Source File : PaymentMethodsRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AdditionalData != null)
hashCode = hashCode * 59 + this.AdditionalData.GetHashCode();
if (this.AllowedPaymentMethods != null)
hashCode = hashCode * 59 + this.AllowedPaymentMethods.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.BlockedPaymentMethods != null)
hashCode = hashCode * 59 + this.BlockedPaymentMethods.GetHashCode();
if (this.Channel != null)
hashCode = hashCode * 59 + this.Channel.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.MerchantAccount != null)
hashCode = hashCode * 59 + this.MerchantAccount.GetHashCode();
if (this.Order != null)
hashCode = hashCode * 59 + this.Order.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
if (this.ShopperReference != null)
hashCode = hashCode * 59 + this.ShopperReference.GetHashCode();
if (this.SplitCardFundingSources != null)
hashCode = hashCode * 59 + this.SplitCardFundingSources.GetHashCode();
if (this.Store != null)
hashCode = hashCode * 59 + this.Store.GetHashCode();
return hashCode;
}
}
19
View Source File : PaymentMethodIssuer.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.disabled != null)
hashCode = hashCode * 59 + this.disabled.GetHashCode();
if (this.id != null)
hashCode = hashCode * 59 + this.id.GetHashCode();
if (this.name != null)
hashCode = hashCode * 59 + this.name.GetHashCode();
return hashCode;
}
}
19
View Source File : PaymentsDetailsRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Details != null)
hashCode = hashCode * 59 + this.Details.GetHashCode();
if (this.PaymentData != null)
hashCode = hashCode * 59 + this.PaymentData.GetHashCode();
if (this.ThreeDSAuthenticationOnly != null)
hashCode = hashCode * 59 + this.ThreeDSAuthenticationOnly.GetHashCode();
return hashCode;
}
}
19
View Source File : BankAccountDetail.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountNumber != null)
hashCode = hashCode * 59 + this.AccountNumber.GetHashCode();
if (this.AccountType != null)
hashCode = hashCode * 59 + this.AccountType.GetHashCode();
if (this.BankAccountName != null)
hashCode = hashCode * 59 + this.BankAccountName.GetHashCode();
if (this.BankAccountReference != null)
hashCode = hashCode * 59 + this.BankAccountReference.GetHashCode();
if (this.BankAccountUUID != null)
hashCode = hashCode * 59 + this.BankAccountUUID.GetHashCode();
if (this.BankBicSwift != null)
hashCode = hashCode * 59 + this.BankBicSwift.GetHashCode();
if (this.BankCity != null)
hashCode = hashCode * 59 + this.BankCity.GetHashCode();
if (this.BankCode != null)
hashCode = hashCode * 59 + this.BankCode.GetHashCode();
if (this.BankName != null)
hashCode = hashCode * 59 + this.BankName.GetHashCode();
if (this.BranchCode != null)
hashCode = hashCode * 59 + this.BranchCode.GetHashCode();
if (this.CheckCode != null)
hashCode = hashCode * 59 + this.CheckCode.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.CurrencyCode != null)
hashCode = hashCode * 59 + this.CurrencyCode.GetHashCode();
if (this.Iban != null)
hashCode = hashCode * 59 + this.Iban.GetHashCode();
if (this.OwnerCity != null)
hashCode = hashCode * 59 + this.OwnerCity.GetHashCode();
if (this.OwnerCountryCode != null)
hashCode = hashCode * 59 + this.OwnerCountryCode.GetHashCode();
if (this.OwnerDateOfBirth != null)
hashCode = hashCode * 59 + this.OwnerDateOfBirth.GetHashCode();
if (this.OwnerHouseNumberOrName != null)
hashCode = hashCode * 59 + this.OwnerHouseNumberOrName.GetHashCode();
if (this.OwnerName != null)
hashCode = hashCode * 59 + this.OwnerName.GetHashCode();
if (this.OwnerNationality != null)
hashCode = hashCode * 59 + this.OwnerNationality.GetHashCode();
if (this.OwnerPostalCode != null)
hashCode = hashCode * 59 + this.OwnerPostalCode.GetHashCode();
if (this.OwnerState != null)
hashCode = hashCode * 59 + this.OwnerState.GetHashCode();
if (this.OwnerStreet != null)
hashCode = hashCode * 59 + this.OwnerStreet.GetHashCode();
if (this.PrimaryAccount != null)
hashCode = hashCode * 59 + this.PrimaryAccount.GetHashCode();
if (this.TaxId != null)
hashCode = hashCode * 59 + this.TaxId.GetHashCode();
if (this.UrlForVerification != null)
hashCode = hashCode * 59 + this.UrlForVerification.GetHashCode();
return hashCode;
}
}
19
View Source File : SubInputDetail.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Configuration != null)
hashCode = hashCode * 59 + this.Configuration.GetHashCode();
if (this.Items != null)
hashCode = hashCode * 59 + this.Items.GetHashCode();
if (this.Key != null)
hashCode = hashCode * 59 + this.Key.GetHashCode();
if (this.Optional != null)
hashCode = hashCode * 59 + this.Optional.GetHashCode();
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
if (this.Value != null)
hashCode = hashCode * 59 + this.Value.GetHashCode();
return hashCode;
}
}
19
View Source File : ThreeDS2RequestData.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AcquirerBIN != null)
hashCode = hashCode * 59 + this.AcquirerBIN.GetHashCode();
if (this.AcquirerMerchantID != null)
hashCode = hashCode * 59 + this.AcquirerMerchantID.GetHashCode();
if (this.AuthenticationOnly != null)
hashCode = hashCode * 59 + this.AuthenticationOnly.GetHashCode();
if (this.ChallengeIndicator != null)
hashCode = hashCode * 59 + this.ChallengeIndicator.GetHashCode();
if (this.DeviceChannel != null)
hashCode = hashCode * 59 + this.DeviceChannel.GetHashCode();
if (this.DeviceRenderOptions != null)
hashCode = hashCode * 59 + this.DeviceRenderOptions.GetHashCode();
if (this.Mcc != null)
hashCode = hashCode * 59 + this.Mcc.GetHashCode();
if (this.MerchantName != null)
hashCode = hashCode * 59 + this.MerchantName.GetHashCode();
if (this.MessageVersion != null)
hashCode = hashCode * 59 + this.MessageVersion.GetHashCode();
if (this.NotificationURL != null)
hashCode = hashCode * 59 + this.NotificationURL.GetHashCode();
if (this.SdkAppID != null)
hashCode = hashCode * 59 + this.SdkAppID.GetHashCode();
if (this.SdkEncData != null)
hashCode = hashCode * 59 + this.SdkEncData.GetHashCode();
if (this.SdkEphemPubKey != null)
hashCode = hashCode * 59 + this.SdkEphemPubKey.GetHashCode();
if (this.SdkMaxTimeout != null)
hashCode = hashCode * 59 + this.SdkMaxTimeout.GetHashCode();
if (this.SdkReferenceNumber != null)
hashCode = hashCode * 59 + this.SdkReferenceNumber.GetHashCode();
if (this.SdkTransID != null)
hashCode = hashCode * 59 + this.SdkTransID.GetHashCode();
if (this.ThreeDSCompInd != null)
hashCode = hashCode * 59 + this.ThreeDSCompInd.GetHashCode();
if (this.ThreeDSRequestorID != null)
hashCode = hashCode * 59 + this.ThreeDSRequestorID.GetHashCode();
if (this.ThreeDSRequestorName != null)
hashCode = hashCode * 59 + this.ThreeDSRequestorName.GetHashCode();
if (this.ThreeDSRequestorURL != null)
hashCode = hashCode * 59 + this.ThreeDSRequestorURL.GetHashCode();
if (this.TransactionType != null)
hashCode = hashCode * 59 + this.TransactionType.GetHashCode();
if (this.WhiteListStatus != null)
hashCode = hashCode * 59 + this.WhiteListStatus.GetHashCode();
return hashCode;
}
}
19
View Source File : AccountPayoutState.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AllowPayout != null)
hashCode = hashCode * 59 + this.AllowPayout.GetHashCode();
if (this.DisableReason != null)
hashCode = hashCode * 59 + this.DisableReason.GetHashCode();
if (this.Disabled != null)
hashCode = hashCode * 59 + this.Disabled.GetHashCode();
if (this.NotAllowedReason != null)
hashCode = hashCode * 59 + this.NotAllowedReason.GetHashCode();
if (this.PayoutLimit != null)
hashCode = hashCode * 59 + this.PayoutLimit.GetHashCode();
if (this.TierNumber != null)
hashCode = hashCode * 59 + this.TierNumber.GetHashCode();
return hashCode;
}
}
19
View Source File : AccountProcessingState.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.DisableReason != null)
hashCode = hashCode * 59 + this.DisableReason.GetHashCode();
if (this.Disabled != null)
hashCode = hashCode * 59 + this.Disabled.GetHashCode();
if (this.ProcessedFrom != null)
hashCode = hashCode * 59 + this.ProcessedFrom.GetHashCode();
if (this.ProcessedTo != null)
hashCode = hashCode * 59 + this.ProcessedTo.GetHashCode();
if (this.TierNumber != null)
hashCode = hashCode * 59 + this.TierNumber.GetHashCode();
return hashCode;
}
}
19
View Source File : AccountTransactionList.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.HasNextPage != null)
hashCode = hashCode * 59 + this.HasNextPage.GetHashCode();
if (this.Transactions != null)
hashCode = hashCode * 59 + this.Transactions.GetHashCode();
return hashCode;
}
}
19
View Source File : CreateAccountHolderRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.AccountHolderDetails != null)
hashCode = hashCode * 59 + this.AccountHolderDetails.GetHashCode();
if (this.CreateDefaultAccount != null)
hashCode = hashCode * 59 + this.CreateDefaultAccount.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
hashCode = hashCode * 59 + this.LegalEnreplacedy.GetHashCode();
if (this.PrimaryCurrency != null)
hashCode = hashCode * 59 + this.PrimaryCurrency.GetHashCode();
if (this.ProcessingTier != null)
hashCode = hashCode * 59 + this.ProcessingTier.GetHashCode();
return hashCode;
}
}
19
View Source File : GetAccountHolderRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.ShowDetails != null)
hashCode = hashCode * 59 + this.ShowDetails.GetHashCode();
return hashCode;
}
}
19
View Source File : UpdateAccountHolderStateRequest.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.Disable != null)
hashCode = hashCode * 59 + this.Disable.GetHashCode();
if (this.Reason != null)
hashCode = hashCode * 59 + this.Reason.GetHashCode();
hashCode = hashCode * 59 + this.StateType.GetHashCode();
return hashCode;
}
}
19
View Source File : BrowserInfo.cs
License : MIT License
Project Creator : Adyen
License : MIT License
Project Creator : Adyen
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.AcceptHeader != null)
hash = hash * 59 + this.AcceptHeader.GetHashCode();
if (this.UserAgent != null)
hash = hash * 59 + this.UserAgent.GetHashCode();
if (this.Language != null)
hash = hash * 59 + this.Language.GetHashCode();
hash = hash * 59 + this.ColorDepth.GetHashCode();
hash = hash * 59 + this.ScreenHeight.GetHashCode();
hash = hash * 59 + this.ScreenWidth.GetHashCode();
hash = hash * 59 + this.TimeZoneOffset.GetHashCode();
hash = hash * 59 + this.JavaEnabled.GetHashCode();
return hash;
}
}
19
View Source File : RedisLiteHelper.cs
License : MIT License
Project Creator : AElfProject
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 : ParameterOverride.cs
License : MIT License
Project Creator : alelievr
License : MIT License
Project Creator : alelievr
public override int GetHash()
{
unchecked
{
int hash = 17;
hash = hash * 23 + overrideState.GetHashCode();
hash = hash * 23 + value.GetHashCode();
return hash;
}
}
19
View Source File : GraphCommand.cs
License : MIT License
Project Creator : alelievr
License : MIT License
Project Creator : alelievr
public override int GetHashCode()
{
return position.GetHashCode()
+ type.GetHashCode()
+ forcePositon.GetHashCode()
+ name.GetHashCode()
+ nodeType.GetHashCode()
+ fromNodeName.GetHashCode()
+ toNodeName.GetHashCode();
}
19
View Source File : FixModel.cs
License : MIT License
Project Creator : alexleen
License : MIT License
Project Creator : alexleen
public override int GetHashCode()
{
unchecked
{
int hashCode = (int)Flag;
hashCode = (hashCode * 397) ^ PerformanceImpact.GetHashCode();
hashCode = (hashCode * 397) ^ Description.GetHashCode();
return hashCode;
}
}
19
View Source File : TriggerConfigMeta.cs
License : MIT License
Project Creator : aliyun
License : MIT License
Project Creator : aliyun
public override int GetHashCode()
{
return string.Format("{0}_{1}_{2}", CronExpression.GetHashCode(), Payload.GetHashCode(), Enable.GetHashCode()).GetHashCode();
}
19
View Source File : TriggerConfigMeta.cs
License : MIT License
Project Creator : aliyun
License : MIT License
Project Creator : aliyun
public override int GetHashCode()
{
return string.Format("{0}_{1}_{2}_{3}_{4}",
SourceConfig.GetHashCode(), JobConfig.GetHashCode(), FunctionParameter.GetHashCode(), LogConfig.GetHashCode(), Enable.GetHashCode()).GetHashCode();
}
19
View Source File : HandshakeMessage.cs
License : MIT License
Project Creator : aljazsim
License : MIT License
Project Creator : aljazsim
public override int GetHashCode()
{
return this.InfoHash.GetHashCode(StringComparison.InvariantCulture) ^
this.PeerId.GetHashCode(StringComparison.InvariantCulture) ^
this.ProtocolString.GetHashCode(StringComparison.InvariantCulture) ^
this.SupportsFastPeer.GetHashCode() ^
this.SupportsExtendedMessaging.GetHashCode();
}
19
View Source File : CreateKeyOption.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.Key != null)
{
hashCode = (hashCode * 59) + this.Key.GetHashCode();
}
if (this.IsReadOnly != null)
{
hashCode = (hashCode * 59) + this.IsReadOnly.GetHashCode();
}
if (this.replacedle != null)
{
hashCode = (hashCode * 59) + this.replacedle.GetHashCode();
}
return hashCode;
}
}
19
View Source File : CreateRepoOption.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.AutoInit != null)
{
hashCode = (hashCode * 59) + this.AutoInit.GetHashCode();
}
if (this.Description != null)
{
hashCode = (hashCode * 59) + this.Description.GetHashCode();
}
if (this.Gitignores != null)
{
hashCode = (hashCode * 59) + this.Gitignores.GetHashCode();
}
if (this.License != null)
{
hashCode = (hashCode * 59) + this.License.GetHashCode();
}
if (this.Name != null)
{
hashCode = (hashCode * 59) + this.Name.GetHashCode();
}
if (this.IsPrivate != null)
{
hashCode = (hashCode * 59) + this.IsPrivate.GetHashCode();
}
if (this.Readme != null)
{
hashCode = (hashCode * 59) + this.Readme.GetHashCode();
}
return hashCode;
}
}
19
View Source File : Email.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.EmailId != null)
{
hashCode = (hashCode * 59) + this.EmailId.GetHashCode();
}
if (this.Primary != null)
{
hashCode = (hashCode * 59) + this.Primary.GetHashCode();
}
if (this.Verified != null)
{
hashCode = (hashCode * 59) + this.Verified.GetHashCode();
}
return hashCode;
}
}
19
View Source File : GPGKey.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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 : GPGKeyEmail.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.Email != null)
{
hashCode = (hashCode * 59) + this.Email.GetHashCode();
}
if (this.Verified != null)
{
hashCode = (hashCode * 59) + this.Verified.GetHashCode();
}
return hashCode;
}
}
19
View Source File : Permission.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.Admin != null)
{
hashCode = (hashCode * 59) + this.Admin.GetHashCode();
}
if (this.Pull != null)
{
hashCode = (hashCode * 59) + this.Pull.GetHashCode();
}
if (this.Push != null)
{
hashCode = (hashCode * 59) + this.Push.GetHashCode();
}
return hashCode;
}
}
19
View Source File : Repository.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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 : SearchResults.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
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.Data != null)
{
hashCode = (hashCode * 59) + this.Data.GetHashCode();
}
if (this.Ok != null)
{
hashCode = (hashCode * 59) + this.Ok.GetHashCode();
}
return hashCode;
}
}
19
View Source File : XsdAttributeKeyword.cs
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
License : BSD 3-Clause "New" or "Revised" License
Project Creator : Altinn
public override int GetHashCode()
{
return Value.GetHashCode();
}
19
View Source File : ExtraPlayerFlags.cs
License : MIT License
Project Creator : andruzzzhka
License : MIT License
Project Creator : andruzzzhka
public override int GetHashCode()
{
var hashCode = 2127499901;
hashCode = hashCode * -1521134295 + rainbowName.GetHashCode();
hashCode = hashCode * -1521134295 + unused1.GetHashCode();
hashCode = hashCode * -1521134295 + unused2.GetHashCode();
hashCode = hashCode * -1521134295 + unused3.GetHashCode();
hashCode = hashCode * -1521134295 + unused4.GetHashCode();
hashCode = hashCode * -1521134295 + unused5.GetHashCode();
hashCode = hashCode * -1521134295 + unused6.GetHashCode();
hashCode = hashCode * -1521134295 + unused7.GetHashCode();
return hashCode;
}
19
View Source File : LevelOptionsInfo.cs
License : MIT License
Project Creator : andruzzzhka
License : MIT License
Project Creator : andruzzzhka
public override int GetHashCode()
{
var hashCode = 11229795;
hashCode = hashCode * -1521134295 + songSpeed.GetHashCode();
hashCode = hashCode * -1521134295 + noFail.GetHashCode();
hashCode = hashCode * -1521134295 + noObstacles.GetHashCode();
hashCode = hashCode * -1521134295 + noBombs.GetHashCode();
hashCode = hashCode * -1521134295 + noArrows.GetHashCode();
hashCode = hashCode * -1521134295 + instaFail.GetHashCode();
hashCode = hashCode * -1521134295 + batteryEnergy.GetHashCode();
hashCode = hashCode * -1521134295 + disappearingArrows.GetHashCode();
hashCode = hashCode * -1521134295 + ghostNotes.GetHashCode();
return hashCode;
}
19
View Source File : PlayerInfo.cs
License : MIT License
Project Creator : andruzzzhka
License : MIT License
Project Creator : andruzzzhka
public override int GetHashCode()
{
var hashCode = -277278763;
hashCode = hashCode * -1521134295 + EqualityComparer<Color32>.Default.GetHashCode(playerNameColor);
hashCode = hashCode * -1521134295 + playerScore.GetHashCode();
hashCode = hashCode * -1521134295 + playerCutBlocks.GetHashCode();
hashCode = hashCode * -1521134295 + playerComboBlocks.GetHashCode();
hashCode = hashCode * -1521134295 + playerTotalBlocks.GetHashCode();
hashCode = hashCode * -1521134295 + playerEnergy.GetHashCode();
hashCode = hashCode * -1521134295 + playerProgress.GetHashCode();
hashCode = hashCode * -1521134295 + EqualityComparer<LevelOptionsInfo>.Default.GetHashCode(playerLevelOptions);
hashCode = hashCode * -1521134295 + fullBodyTracking.GetHashCode();
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(headPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(rightHandPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(leftHandPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(rightLegPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(leftLegPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Vector3>.Default.GetHashCode(pelvisPos);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(headRot);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(rightHandRot);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(leftHandRot);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(rightLegRot);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(leftLegRot);
hashCode = hashCode * -1521134295 + EqualityComparer<Quaternion>.Default.GetHashCode(pelvisRot);
return hashCode;
}
19
View Source File : RoomInfo.cs
License : MIT License
Project Creator : andruzzzhka
License : MIT License
Project Creator : andruzzzhka
public override int GetHashCode()
{
var hashCode = 1133574822;
hashCode = hashCode * -1521134295 + roomId.GetHashCode();
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(name);
hashCode = hashCode * -1521134295 + usePreplacedword.GetHashCode();
hashCode = hashCode * -1521134295 + EqualityComparer<PlayerInfo>.Default.GetHashCode(roomHost);
hashCode = hashCode * -1521134295 + players.GetHashCode();
hashCode = hashCode * -1521134295 + maxPlayers.GetHashCode();
return hashCode;
}
19
View Source File : RoomSettings.cs
License : MIT License
Project Creator : andruzzzhka
License : MIT License
Project Creator : andruzzzhka
public override int GetHashCode()
{
var hashCode = -1123100830;
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(Name);
hashCode = hashCode * -1521134295 + UsePreplacedword.GetHashCode();
hashCode = hashCode * -1521134295 + EqualityComparer<string>.Default.GetHashCode(Preplacedword);
hashCode = hashCode * -1521134295 + MaxPlayers.GetHashCode();
hashCode = hashCode * -1521134295 + PerPlayerDifficulty.GetHashCode();
hashCode = hashCode * -1521134295 + ResultsShowTime.GetHashCode();
return hashCode;
}
See More Examples