public override int GetHashCode() { unchecked { var hashCode = Bot; hashCode = (hashCode * 397) ^ LowDestination.GetHashCode(); hashCode = (hashCode * 397) ^ HighDestination.GetHashCode(); return(hashCode); } }
protected bool Equals(BotInstruction other) { return(Bot == other.Bot && LowDestination.Equals(other.LowDestination) && HighDestination.Equals(other.HighDestination)); }