public override int GetHashCode() { int hashCode = 0; if (XCoordinate != null) { hashCode ^= XCoordinate.GetHashCode(); } if (YCoordinate != null) { hashCode ^= YCoordinate.GetHashCode(); } if (!string.IsNullOrEmpty(MarkColorName)) { hashCode ^= MarkColorName.GetHashCode(); } if (!string.IsNullOrEmpty(Text)) { hashCode ^= Text.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { return(XCoordinate.GetHashCode() ^ YCoordinate.GetHashCode()); }