public bool Equals(ItemWithScore other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Equals(other.Item, Item) && other.Score == Score); }
public bool Equals(ItemWithScore other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return Equals(other.Item, Item) && other.Score == Score; }