public void PointerHashcodes() { pointer = new AbstractValue(new[] { new AbstractValue(1) }); var pointer2 = new AbstractValue(new[] { new AbstractValue(2) }); Assert.AreNotEqual(pointer.GetHashCode(), pointer2.GetHashCode()); }
public void PointerHashcodes() { pointer = new AbstractValue(new[] {new AbstractValue(1)}); var pointer2 = new AbstractValue(new[] {new AbstractValue(2)}); Assert.AreNotEqual(pointer.GetHashCode(), pointer2.GetHashCode()); }
public override Int32 GetHashCode() { return(Value.GetHashCode() ^ ZeroFlag.GetHashCode()); }