paulirwin commented on code in PR #1056: URL: https://github.com/apache/lucenenet/pull/1056#discussion_r1884216430
########## src/Lucene.Net.Suggest/Suggest/Lookup.cs: ########## @@ -124,20 +124,13 @@ public int CompareTo(LookupResult o) } // LUCENENET specific - per CS0660 and CS0661, we need to override Equals and GetHashCode - public override bool Equals(object obj) => ReferenceEquals(this, obj); + // ReSharper disable once BaseObjectEqualsIsObjectEquals + // ReSharper disable once RedundantOverriddenMember + public override bool Equals(object obj) => base.Equals(obj); - public override int GetHashCode() - { - unchecked Review Comment: Created #1065 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org