Skip to content

Commit 7bedcca

Browse files
authored
Remove 'inheritdoc` from overriden members that can not be resolved by DocFx (#5632)
1 parent 8126b55 commit 7bedcca

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/contrib/cluster/Akka.DistributedData/PNCounter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public PNCounter Prune(Cluster.UniqueAddress removedNode, Cluster.UniqueAddress
100100
public PNCounter PruningCleanup(Cluster.UniqueAddress removedNode) =>
101101
new PNCounter(Increments.PruningCleanup(removedNode), Decrements.PruningCleanup(removedNode));
102102

103-
/// <inheritdoc/>
103+
104104
public bool Equals(PNCounter other)
105105
{
106106
if (ReferenceEquals(other, null)) return false;
@@ -109,13 +109,13 @@ public bool Equals(PNCounter other)
109109
return other.Increments.Equals(Increments) && other.Decrements.Equals(Decrements);
110110
}
111111

112-
/// <inheritdoc/>
112+
113113
public override string ToString() => $"PNCounter({Value})";
114114

115-
/// <inheritdoc/>
115+
116116
public override bool Equals(object obj) => obj is PNCounter && Equals((PNCounter)obj);
117117

118-
/// <inheritdoc/>
118+
119119
public override int GetHashCode() => Increments.GetHashCode() ^ Decrements.GetHashCode();
120120

121121
public IReplicatedData Merge(IReplicatedData other) => Merge((PNCounter)other);

src/contrib/cluster/Akka.DistributedData/PNCounterDictionary.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ public PNCounterDictionary<TKey> Prune(UniqueAddress removedNode, UniqueAddress
179179
public PNCounterDictionary<TKey> PruningCleanup(UniqueAddress removedNode) =>
180180
new PNCounterDictionary<TKey>(Underlying.PruningCleanup(removedNode));
181181

182-
/// <inheritdoc/>
182+
183183
public bool Equals(PNCounterDictionary<TKey> other)
184184
{
185185
if (ReferenceEquals(other, null)) return false;
@@ -188,19 +188,19 @@ public bool Equals(PNCounterDictionary<TKey> other)
188188
return Equals(Underlying, other.Underlying);
189189
}
190190

191-
/// <inheritdoc/>
191+
192192
public IEnumerator<KeyValuePair<TKey, BigInteger>> GetEnumerator() =>
193193
Underlying.Select(x => new KeyValuePair<TKey, BigInteger>(x.Key, x.Value.Value)).GetEnumerator();
194194
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
195195

196-
/// <inheritdoc/>
196+
197197
public override bool Equals(object obj) =>
198198
obj is PNCounterDictionary<TKey> pairs && Equals(pairs);
199199

200-
/// <inheritdoc/>
200+
201201
public override int GetHashCode() => Underlying.GetHashCode();
202202

203-
/// <inheritdoc/>
203+
204204
public override string ToString()
205205
{
206206
var sb = new StringBuilder("PNCounterDictionary(");

0 commit comments

Comments
 (0)