コード例 #1
0
        /// @cond DOXYGEN_SHOULD_SKIP_THIS

        public override int GetHashCode()
        {
            //This is a random value to represent an empty set,
            //since it does not have elements to calculate an hash,
            //and two empty sets are equal.
            const int emptyHashCode = 0x0fc43f9;

            return(m_impl.CalculateHashCode(emptyHashCode, this));
        }