Пример #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (SendMarketingEmails != false)
            {
                hash ^= SendMarketingEmails.GetHashCode();
            }
            if (SendPushNotifications != false)
            {
                hash ^= SendPushNotifications.GetHashCode();
            }
            return(hash);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= tutorialsCompleted_.GetHashCode();
            if (SendMarketingEmails != false)
            {
                hash ^= SendMarketingEmails.GetHashCode();
            }
            if (SendPushNotifications != false)
            {
                hash ^= SendPushNotifications.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }