Ejemplo n.º 1
0
        public override bool Equals(object other)
        {
            if (!(other is UnsignedConstant))
            {
                return(false);
            }

            UnsignedConstant p = (UnsignedConstant)other;

            if (_value != p._value)
            {
                return(false);
            }
            return(true);
        }
Ejemplo n.º 2
0
        public Vertex GetUnsignedConstant(uint value)
        {
            UnsignedConstant vertex = new UnsignedConstant(value);

            return(Unify(vertex));
        }