public override int GetHashCode()
        {
            int code = base.GetHashCode();

            if (type != null)
            {
                code += type.GetHashCode();
            }
            return(code);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int code = base.GetHashCode();

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