Skip to content

Commit 3a0f123

Browse files
committed
Prevent instantiation of the class directly
1 parent 0a9e234 commit 3a0f123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DotNext.Threading/Runtime/Caching/RandomAccessCache.Dictionary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static KeyValuePair CreatePair(TKey key, TValue value, int hashCode)
6666

6767
private volatile BucketList buckets;
6868

69-
internal partial class KeyValuePair(TKey key, int hashCode)
69+
internal abstract partial class KeyValuePair(TKey key, int hashCode)
7070
{
7171
internal readonly int KeyHashCode = hashCode;
7272
internal readonly TKey Key = key;

0 commit comments

Comments
 (0)