We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a2861 commit 59c67f0Copy full SHA for 59c67f0
src/Lucene.Net/Support/ConcurrentHashSet.cs
@@ -32,6 +32,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
32
using System.Runtime.CompilerServices;
33
using System.Threading;
34
using JCG = J2N.Collections.Generic;
35
+// ReSharper disable RedundantExtendsListEntry
36
#nullable enable
37
38
namespace Lucene.Net.Support
@@ -45,8 +46,10 @@ namespace Lucene.Net.Support
45
46
/// concurrently from multiple threads.
47
/// </remarks>
48
[DebuggerDisplay("Count = {Count}")]
- // ReSharper disable once RedundantExtendsListEntry
49
internal class ConcurrentHashSet<T> : ISet<T>, IReadOnlyCollection<T>, ICollection<T>
50
+#if FEATURE_READONLYSET
51
+ , IReadOnlySet<T>
52
+#endif
53
{
54
private const int DefaultCapacity = 31;
55
private const int MaxLockNumber = 1024;
0 commit comments