public override bool Equals(object obj) { Inventory.Entry entry = obj as Inventory.Entry; if (entry == null) { return base.Equals(obj); } return this.Pointer == entry.Pointer; }