Ejemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasId)
            {
                hash ^= Id.GetHashCode();
            }
            if (HasInviterIdentity)
            {
                hash ^= InviterIdentity.GetHashCode();
            }
            if (HasInviteeIdentity)
            {
                hash ^= InviteeIdentity.GetHashCode();
            }
            if (HasInviterName)
            {
                hash ^= InviterName.GetHashCode();
            }
            if (HasInviteeName)
            {
                hash ^= InviteeName.GetHashCode();
            }
            if (HasInvitationMessage)
            {
                hash ^= InvitationMessage.GetHashCode();
            }
            if (HasCreationTime)
            {
                hash ^= CreationTime.GetHashCode();
            }
            if (HasExpirationTime)
            {
                hash ^= ExpirationTime.GetHashCode();
            }
            if (_extensions != null)
            {
                hash ^= _extensions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasInvitationMessage)
            {
                hash ^= InvitationMessage.GetHashCode();
            }
            if (HasExpirationTime)
            {
                hash ^= ExpirationTime.GetHashCode();
            }
            if (_extensions != null)
            {
                hash ^= _extensions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Ejemplo n.º 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (HasIntOpt)
            {
                hash ^= IntOpt.GetHashCode();
            }
            if (HasFoo)
            {
                hash ^= Foo.GetHashCode();
            }
            if (_extensions != null)
            {
                hash ^= _extensions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }