Beispiel #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Uid.Length != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Gid != 0)
            {
                hash ^= Gid.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Price != 0)
            {
                hash ^= Price.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     return(Gid.GetHashCode()
            ^ ListId.GetHashCode()
            ^ LinkId.GetHashCode()
            ^ Url.GetHashCode());
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Primary != false)
            {
                hash ^= Primary.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Gid != 0L)
            {
                hash ^= Gid.GetHashCode();
            }
            if (HomeDirectory.Length != 0)
            {
                hash ^= HomeDirectory.GetHashCode();
            }
            if (Shell.Length != 0)
            {
                hash ^= Shell.GetHashCode();
            }
            if (Gecos.Length != 0)
            {
                hash ^= Gecos.GetHashCode();
            }
            if (SystemId.Length != 0)
            {
                hash ^= SystemId.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (OperatingSystemType != global::Google.Cloud.OsLogin.Common.OperatingSystemType.Unspecified)
            {
                hash ^= OperatingSystemType.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #4
0
 public override int GetHashCode() {
   int hash = 1;
   if (HasUri) hash ^= Uri.GetHashCode();
   if (HasUid) hash ^= Uid.GetHashCode();
   if (HasGid) hash ^= Gid.GetHashCode();
   hash ^= Metadata.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Gid != 0UL)
            {
                hash ^= Gid.GetHashCode();
            }
            if (TeamId != 0)
            {
                hash ^= TeamId.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Gid != 0UL)
            {
                hash ^= Gid.GetHashCode();
            }
            if (Team != 0)
            {
                hash ^= Team.GetHashCode();
            }
            hash ^= applicant_.GetHashCode();
            hash ^= handle_.GetHashCode();
            return(hash);
        }
Beispiel #7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Primary != false)
            {
                hash ^= Primary.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Uid != 0L)
            {
                hash ^= Uid.GetHashCode();
            }
            if (Gid != 0L)
            {
                hash ^= Gid.GetHashCode();
            }
            if (HomeDirectory.Length != 0)
            {
                hash ^= HomeDirectory.GetHashCode();
            }
            if (Shell.Length != 0)
            {
                hash ^= Shell.GetHashCode();
            }
            if (Gecos.Length != 0)
            {
                hash ^= Gecos.GetHashCode();
            }
            if (SystemId.Length != 0)
            {
                hash ^= SystemId.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Gid != 0UL)
            {
                hash ^= Gid.GetHashCode();
            }
            if (Icon != 0)
            {
                hash ^= Icon.GetHashCode();
            }
            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Gid != 0UL)
            {
                hash ^= Gid.GetHashCode();
            }
            if (Targetid != 0)
            {
                hash ^= Targetid.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            return(hash);
        }
Beispiel #10
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Size.GetHashCode();
         hashCode = (hashCode * 397) ^ Type.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Dev;
         hashCode = (hashCode * 397) ^ (Qid?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (int)Mode;
         hashCode = (hashCode * 397) ^ (int)Atime;
         hashCode = (hashCode * 397) ^ (int)Mtime;
         hashCode = (hashCode * 397) ^ Length.GetHashCode();
         hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Uid?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Gid?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ (Muid?.GetHashCode() ?? 0);
         return(hashCode);
     }
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Gid != 0UL)
            {
                hash ^= Gid.GetHashCode();
            }
            if (ChannelId != 0)
            {
                hash ^= ChannelId.GetHashCode();
            }
            if (SText.Length != 0)
            {
                hash ^= SText.GetHashCode();
            }
            if (Time != 0UL)
            {
                hash ^= Time.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     return(Gid.GetHashCode() + Flags.GetHashCode());
 }