Exemplo n.º 1
0
 /// <summary>
 /// Return the HashCode of this object.
 /// </summary>
 /// <returns>The HashCode of this object.</returns>
 public override Int32 GetHashCode()
 {
     unchecked
     {
         return(ListVersion.GetHashCode() * 5 ^
                UpdateType.GetHashCode() * 3 ^
                LocalAuthorizationList.GetHashCode());
     }
 }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (VersionNumber != 0L)
            {
                hash ^= VersionNumber.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (updateUser_ != null)
            {
                hash ^= UpdateUser.GetHashCode();
            }
            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (UpdateOrigin != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateOrigin.Unspecified)
            {
                hash ^= UpdateOrigin.GetHashCode();
            }
            if (UpdateType != global::Google.Events.Protobuf.Firebase.RemoteConfig.V1.RemoteConfigUpdateType.Unspecified)
            {
                hash ^= UpdateType.GetHashCode();
            }
            if (RollbackSource != 0L)
            {
                hash ^= RollbackSource.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }