From 94b8fa2f96ab28e81c3583afc7b3168d8cb44d0c Mon Sep 17 00:00:00 2001 From: Ebere Abanonu Date: Thu, 10 Feb 2022 17:45:41 +0100 Subject: [PATCH 1/2] Remove 'inheritdoc` from overriden members that can not be resolved by DocFx --- src/contrib/cluster/Akka.DistributedData/GCounter.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/contrib/cluster/Akka.DistributedData/GCounter.cs b/src/contrib/cluster/Akka.DistributedData/GCounter.cs index 3bc16df1ea9..e0840a42765 100644 --- a/src/contrib/cluster/Akka.DistributedData/GCounter.cs +++ b/src/contrib/cluster/Akka.DistributedData/GCounter.cs @@ -183,10 +183,10 @@ public GCounter Prune(UniqueAddress removedNode, UniqueAddress collapseInto) /// TBD public GCounter PruningCleanup(UniqueAddress removedNode) => new GCounter(State.Remove(removedNode)); - /// + public override int GetHashCode() => State.GetHashCode(); - /// + public bool Equals(GCounter other) { if (ReferenceEquals(other, null)) return false; @@ -195,10 +195,10 @@ public bool Equals(GCounter other) return State.SequenceEqual(other.State); } - /// + public override bool Equals(object obj) => obj is GCounter counter && Equals(counter); - /// + public override string ToString() => $"GCounter({Value})"; /// From ed94b935bdfb647107ee7fcf4d1e9cbc20dea36a Mon Sep 17 00:00:00 2001 From: Ebere Abanonu Date: Thu, 10 Feb 2022 17:48:38 +0100 Subject: [PATCH 2/2] Remove 'inheritdoc` from overriden members that can not be resolved by DocFx --- src/contrib/cluster/Akka.DistributedData/GSet.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/contrib/cluster/Akka.DistributedData/GSet.cs b/src/contrib/cluster/Akka.DistributedData/GSet.cs index 1c4086831e0..e36b4310206 100644 --- a/src/contrib/cluster/Akka.DistributedData/GSet.cs +++ b/src/contrib/cluster/Akka.DistributedData/GSet.cs @@ -158,13 +158,13 @@ public bool Equals(GSet other) return Elements.SetEquals(other.Elements); } - /// + public IEnumerator GetEnumerator() => Elements.GetEnumerator(); - /// + public override bool Equals(object obj) => obj is GSet && Equals((GSet)obj); - /// + public override int GetHashCode() { unchecked @@ -186,7 +186,7 @@ public override int GetHashCode() IEnumerator IEnumerable.GetEnumerator() => GetEnumerator(); - /// + public override string ToString() { var sb = new StringBuilder("GSet(");