paulirwin commented on code in PR #1128:
URL: https://github.com/apache/lucenenet/pull/1128#discussion_r1956650237


##########
src/Lucene.Net/Support/ConcurrentHashSet.cs:
##########
@@ -42,7 +44,7 @@ namespace Lucene.Net.Support
     /// concurrently from multiple threads.
     /// </remarks>
     [DebuggerDisplay("Count = {Count}")]
-    internal class ConcurrentHashSet<T> : ISet<T>, IReadOnlyCollection<T>, 
ICollection<T>
+    internal class ConcurrentHashSet<T> : ISet<T>, IReadOnlyCollection<T>

Review Comment:
   We already had FEATURE_READONLYSET defined for .NET 5+, so went ahead and 
added `IReadOnlySet<T>`. Added a `// ReSharper disable 
RedundantExtendsListEntry` to prevent an analysis warning about the redundant 
interface.



-- 
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

Reply via email to