Skip to content

Commit 8126b55

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

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ public sealed class ReadLocal : IReadConsistency
149149

150150
private ReadLocal() { }
151151

152-
/// <inheritdoc/>
152+
153153
public override bool Equals(object obj) => obj != null && obj is ReadLocal;
154154

155-
/// <inheritdoc/>
155+
156156
public override string ToString() => "ReadLocal";
157-
/// <inheritdoc/>
157+
158158
public override int GetHashCode() => nameof(ReadLocal).GetHashCode();
159159
}
160160

@@ -170,18 +170,18 @@ public ReadFrom(int n, TimeSpan timeout)
170170
Timeout = timeout;
171171
}
172172

173-
/// <inheritdoc/>
173+
174174
public override bool Equals(object obj) => obj is ReadFrom && Equals((ReadFrom) obj);
175175

176-
/// <inheritdoc/>
176+
177177
public bool Equals(ReadFrom other)
178178
{
179179
if (ReferenceEquals(other, null)) return false;
180180
if (ReferenceEquals(this, other)) return true;
181181
return N == other.N && Timeout.Equals(other.Timeout);
182182
}
183183

184-
/// <inheritdoc/>
184+
185185
public override int GetHashCode()
186186
{
187187
unchecked
@@ -190,7 +190,7 @@ public override int GetHashCode()
190190
}
191191
}
192192

193-
/// <inheritdoc/>
193+
194194
public override string ToString() => $"ReadFrom({N}, timeout={Timeout})";
195195
}
196196

@@ -205,24 +205,24 @@ public ReadMajority(TimeSpan timeout, int minCapacity = 0)
205205
MinCapacity = minCapacity;
206206
}
207207

208-
/// <inheritdoc/>
208+
209209
public override bool Equals(object obj)
210210
{
211211
return obj is ReadMajority && Equals((ReadMajority) obj);
212212
}
213213

214-
/// <inheritdoc/>
214+
215215
public override string ToString() => $"ReadMajority(timeout={Timeout})";
216216

217-
/// <inheritdoc/>
217+
218218
public bool Equals(ReadMajority other)
219219
{
220220
if (ReferenceEquals(null, other)) return false;
221221
if (ReferenceEquals(this, other)) return true;
222222
return Timeout.Equals(other.Timeout) && MinCapacity == other.MinCapacity;
223223
}
224224

225-
/// <inheritdoc/>
225+
226226
public override int GetHashCode()
227227
{
228228
unchecked
@@ -250,24 +250,24 @@ public ReadMajorityPlus(TimeSpan timeout, int additional, int minCapacity = 0)
250250
MinCapacity = minCapacity;
251251
}
252252

253-
/// <inheritdoc/>
253+
254254
public override bool Equals(object obj)
255255
{
256256
return obj is ReadMajorityPlus && Equals((ReadMajorityPlus)obj);
257257
}
258258

259-
/// <inheritdoc/>
259+
260260
public override string ToString() => $"ReadMajorityPlus(timeout={Timeout}, additional={Additional})";
261261

262-
/// <inheritdoc/>
262+
263263
public bool Equals(ReadMajorityPlus other)
264264
{
265265
if (ReferenceEquals(null, other)) return false;
266266
if (ReferenceEquals(this, other)) return true;
267267
return Timeout.Equals(other.Timeout) && Additional == other.Additional && MinCapacity == other.MinCapacity;
268268
}
269269

270-
/// <inheritdoc/>
270+
271271
public override int GetHashCode()
272272
{
273273
unchecked
@@ -290,24 +290,24 @@ public ReadAll(TimeSpan timeout)
290290
Timeout = timeout;
291291
}
292292

293-
/// <inheritdoc/>
293+
294294
public override bool Equals(object obj)
295295
{
296296
return obj is ReadAll && Equals((ReadAll) obj);
297297
}
298298

299-
/// <inheritdoc/>
299+
300300
public override string ToString() => $"ReadAll(timeout={Timeout})";
301301

302-
/// <inheritdoc/>
302+
303303
public bool Equals(ReadAll other)
304304
{
305305
if (ReferenceEquals(null, other)) return false;
306306
if (ReferenceEquals(this, other)) return true;
307307
return Timeout.Equals(other.Timeout);
308308
}
309309

310-
/// <inheritdoc/>
310+
311311
public override int GetHashCode()
312312
{
313313
return Timeout.GetHashCode();

0 commit comments

Comments
 (0)