Skip to content

Commit

Permalink
Docs: Fix unresolved base documentaion WARNINGS in `Akka.DistributedD…
Browse files Browse the repository at this point in the history
…ata.GCounter.cs` (#5625)

* Remove 'inheritdoc` from overriden members that can not be resolved by DocFx

* Remove 'inheritdoc` from overriden members that can not be resolved by DocFx
  • Loading branch information
eaba authored Feb 11, 2022
1 parent c2fe009 commit c055f76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/contrib/cluster/Akka.DistributedData/GCounter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,10 @@ public GCounter Prune(UniqueAddress removedNode, UniqueAddress collapseInto)
/// <returns>TBD</returns>
public GCounter PruningCleanup(UniqueAddress removedNode) => new GCounter(State.Remove(removedNode));

/// <inheritdoc/>

public override int GetHashCode() => State.GetHashCode();

/// <inheritdoc/>

public bool Equals(GCounter other)
{
if (ReferenceEquals(other, null)) return false;
Expand All @@ -195,10 +195,10 @@ public bool Equals(GCounter other)
return State.SequenceEqual(other.State);
}

/// <inheritdoc/>

public override bool Equals(object obj) => obj is GCounter counter && Equals(counter);

/// <inheritdoc/>

public override string ToString() => $"GCounter({Value})";

/// <summary>
Expand Down
8 changes: 4 additions & 4 deletions src/contrib/cluster/Akka.DistributedData/GSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ public bool Equals(GSet<T> other)
return Elements.SetEquals(other.Elements);
}

/// <inheritdoc/>

public IEnumerator<T> GetEnumerator() => Elements.GetEnumerator();

/// <inheritdoc/>

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

/// <inheritdoc/>

public override int GetHashCode()
{
unchecked
Expand All @@ -186,7 +186,7 @@ public override int GetHashCode()

IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();

/// <inheritdoc/>

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

0 comments on commit c055f76

Please sign in to comment.