Exemplo n.º 1
0
        /// <summary>Returns the hash code for this instance.</summary>
        /// <returns>A 32-bit signed integer that is the hash code for this instance.</returns>
        /// <filterpriority>2</filterpriority>
        public override int GetHashCode()
        {
            object[] array;
            int      num = ValueType.InternalGetHashCode(this, out array);

            if (array != null)
            {
                for (int i = 0; i < array.Length; i++)
                {
                    if (array[i] != null)
                    {
                        num ^= array[i].GetHashCode();
                    }
                }
            }
            return(num);
        }