示例#1
0
        /// <summary>
        /// Returns the hash-code value for this ACL entry.
        ///
        /// <para> This method satisfies the general contract of the {@link
        /// Object#hashCode} method.
        /// </para>
        /// </summary>
        public override int HashCode()
        {
            // return cached hash if available
            if (Hash_Renamed != 0)
            {
                return(Hash_Renamed);
            }
            int h = Type_Renamed.HashCode();

            h            = Hash(h, Who);
            h            = Hash(h, Perms);
            h            = Hash(h, Flags_Renamed);
            Hash_Renamed = h;
            return(Hash_Renamed);
        }