public bool Equals(InstrumentDescriptor other) { if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; return string.Equals(Identifier, other.Identifier) && MarketId == other.MarketId; }