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

            if (type != null)
            {
                code += type.GetHashCode();
            }
            return(code);
        }
Пример #2
0
        public override int GetHashCode()
        {
            int code = base.GetHashCode();

            if (toolboxItemType != null)
            {
                code ^= toolboxItemType.GetHashCode();
            }
            return(code);
        }