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
8 changes: 4 additions & 4 deletions src/contrib/cluster/Akka.DistributedData/ORSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ public ORSet<T> PruningCleanup(UniqueAddress removedNode)
return new ORSet<T>(updated, VersionVector.PruningCleanup(removedNode));
}

/// <inheritdoc/>

public bool Equals(ORSet<T> other)
{
if (ReferenceEquals(other, null)) return false;
Expand All @@ -441,14 +441,14 @@ public bool Equals(ORSet<T> other)
return VersionVector == other.VersionVector && ElementsMap.SequenceEqual(other.ElementsMap);
}

/// <inheritdoc/>

public IEnumerator<T> GetEnumerator() => ElementsMap.Keys.GetEnumerator();
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();

/// <inheritdoc/>

public override bool Equals(object obj) => obj is ORSet<T> && Equals((ORSet<T>)obj);

/// <inheritdoc/>

public override int GetHashCode()
{
unchecked
Expand Down