public override int GetHashCode() { int hash = 1; if (ExternalID != 0UL) { hash ^= ExternalID.GetHashCode(); } if (EthAmount.Length != 0) { hash ^= EthAmount.GetHashCode(); } if (Sender.Length != 0) { hash ^= Sender.GetHashCode(); } if (Transaction.Length != 0) { hash ^= Transaction.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = ExternalName?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ExternalID?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Bindable.GetHashCode(); hashCode = (hashCode * 397) ^ Free.GetHashCode(); hashCode = (hashCode * 397) ^ (ClusterServiceBrokerName?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ExternalID?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (ClusterServiceClassExternalName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterServicePlanExternalName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterServiceClassExternalID?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterServicePlanExternalID?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterServiceClassName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (ClusterServicePlanName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ UpdateRequests.GetHashCode(); return(hashCode); } }