Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/contrib/cluster/Akka.DistributedData/ORDictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public ORDictionary<TKey, TValue> PruningCleanup(UniqueAddress removedNode)
return new ORDictionary<TKey, TValue>(pruningCleanupKeys, pruningCleanupValues);
}

/// <inheritdoc/>

public bool Equals(ORDictionary<TKey, TValue> other)
{
if (ReferenceEquals(other, null)) return false;
Expand All @@ -410,13 +410,13 @@ public bool Equals(ORDictionary<TKey, TValue> other)
return Equals(KeySet, other.KeySet) && ValueMap.SequenceEqual(other.ValueMap);
}

/// <inheritdoc/>

public override bool Equals(object obj)
{
return obj is ORDictionary<TKey, TValue> pairs && Equals(pairs);
}

/// <inheritdoc/>

public override int GetHashCode()
{
unchecked
Expand All @@ -425,11 +425,11 @@ public override int GetHashCode()
}
}

/// <inheritdoc/>

public IEnumerator<KeyValuePair<TKey, TValue>> GetEnumerator() => ValueMap.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();

/// <inheritdoc/>

public override string ToString()
{
var sb = new StringBuilder("ORDictionary(");
Expand Down