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

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

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