/// <inheritdoc /> public override int GetHashCode() { unchecked { var hashCode = (int)ErrorCode; hashCode = (hashCode * 397) ^ (TopicName?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (IsInternal?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Partitions?.GetHashCode() ?? 0); return(hashCode); } }
/// <summary> /// Gets the hash code for this <see cref="DragDropInfo"/> object. /// </summary> /// <returns>The hash code.</returns> public override int GetHashCode() { return(Location.GetHashCode() ^ KeyStates.GetHashCode() ^ Data.GetHashCode() ^ IsInternal.GetHashCode() ^ Source.GetHashCode() ^ AllowedEffects.GetHashCode() ^ VirtualBufferPosition.GetHashCode()); }