diff --git a/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/CacheClientConfiguration.cs b/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/CacheClientConfiguration.cs index 2a9eff87c..036d6840d 100644 --- a/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/CacheClientConfiguration.cs +++ b/src/Orchard.Web/Modules/Orchard.Azure/Services/Caching/CacheClientConfiguration.cs @@ -57,9 +57,9 @@ namespace Orchard.Azure.Services.Caching { public override int GetHashCode() { int hash = 37; - hash = hash * 23 + HostIdentifier != null ? HostIdentifier.GetHashCode() : 0; - hash = hash * 23 + CacheName != null ? CacheName.GetHashCode() : 0; - hash = hash * 23 + AuthorizationToken != null ? AuthorizationToken.GetHashCode() : 0; + hash = hash * 23 + (HostIdentifier != null ? HostIdentifier.GetHashCode() : 0); + hash = hash * 23 + (CacheName != null ? CacheName.GetHashCode() : 0); + hash = hash * 23 + (AuthorizationToken != null ? AuthorizationToken.GetHashCode() : 0); hash = hash * 23 + CompressionIsEnabled.GetHashCode(); return hash; }