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

            if (buzz_ != null)
            {
                hash ^= Buzz.GetHashCode();
            }
            if (Where.Length != 0)
            {
                hash ^= Where.GetHashCode();
            }
            if (Who.Length != 0)
            {
                hash ^= Who.GetHashCode();
            }
            if (How.Length != 0)
            {
                hash ^= How.GetHashCode();
            }
            if (What.Length != 0)
            {
                hash ^= What.GetHashCode();
            }
            if (Why.Length != 0)
            {
                hash ^= Why.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Beispiel #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (What != 0)
        {
            hash ^= What.GetHashCode();
        }
        if (Where != 0)
        {
            hash ^= Where.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }