/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <inheritdoc /> public override int GetHashCode() { unchecked { return(PackageId.GetHashCode() ^ DeployVersion.GetHashCode()); } }
public override int GetHashCode() { unchecked { return(((PackageId != null ? PackageId.GetHashCode() : 0) * 397) ^ (PackageVersion != null ? PackageVersion.GetHashCode() : 0)); } }
public override int GetHashCode() { int hash = 1; if (PackageId.Length != 0) { hash ^= PackageId.GetHashCode(); } if (PackageSize != 0UL) { hash ^= PackageSize.GetHashCode(); } if (knownSince_ != null) { hash ^= KnownSince.GetHashCode(); } if (SourceDescription.Length != 0) { hash ^= SourceDescription.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = PackageId.GetHashCode(); hashCode = (hashCode * 397) ^ Version.GetHashCode(); hashCode = (hashCode * 397) ^ RootFolderPath.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Bookable != false) { hash ^= Bookable.GetHashCode(); } hash ^= offers_.GetHashCode(); if (packageId_ != null) { hash ^= PackageId.GetHashCode(); } if (expiresAt_ != null) { hash ^= ExpiresAt.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.productId) { hashcode = (hashcode * 397) + ProductId.GetHashCode(); } if (__isset.packageId) { hashcode = (hashcode * 397) + PackageId.GetHashCode(); } if (__isset.version) { hashcode = (hashcode * 397) + Version.GetHashCode(); } if (__isset.onSale) { hashcode = (hashcode * 397) + OnSale.GetHashCode(); } if (__isset.validUntil) { hashcode = (hashcode * 397) + ValidUntil.GetHashCode(); } if (__isset.stickerIdRanges) { hashcode = (hashcode * 397) + TCollections.GetHashCode(StickerIdRanges); } if (__isset.grantedByDefault) { hashcode = (hashcode * 397) + GrantedByDefault.GetHashCode(); } if (__isset.displayOrder) { hashcode = (hashcode * 397) + DisplayOrder.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hash = 1; if (LedgerId.Length != 0) { hash ^= LedgerId.GetHashCode(); } if (PackageId.Length != 0) { hash ^= PackageId.GetHashCode(); } if (traceContext_ != null) { hash ^= TraceContext.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(PackageId.GetHashCode()); }
public override int GetHashCode() { return(AppId.GetHashCode() ^ PackageId.GetHashCode() ^ ContractId.GetHashCode() ^ Description.GetHashCode() ^ DisplayName.GetHashCode() ^ Icon.GetHashCode() ^ Vendor.GetHashCode() ^ COMUtilities.GetHashCodeDictionary(CustomProperties) ^ Source.GetHashCode()); }
public override int GetHashCode() => PackageId.GetHashCode() *(Framework?.GetHashCode() ?? 1);
public override int GetHashCode() => PackageId.GetHashCode() ^ (Version?.GetHashCode() ?? 0);
public override int GetHashCode() => PackageId?.GetHashCode() ?? 0;
public override int GetHashCode() { return(PackageId.GetHashCode() * Version.GetHashCode() * (Framework != null ? Framework.GetHashCode() : 1)); }