diff options
author | Marek Safar <marek.safar@gmail.com> | 2022-11-08 16:05:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-08 16:05:34 +0300 |
commit | 8918adf2e5255920aed3c61f9b92c2a51eec0fe3 (patch) | |
tree | 5049f5b37e6ec2ad24acc5bbe0a4b4c1b1e4e0b9 /src/coreclr/nativeaot/Common | |
parent | 134968ad4cc78550f09e5ac629644d088f396120 (diff) |
Enable IDE0060 (Remove unused parameter) analyzer (#72667)
Diffstat (limited to 'src/coreclr/nativeaot/Common')
-rw-r--r-- | src/coreclr/nativeaot/Common/src/System/Collections/Concurrent/ConcurrentUnifierWKeyed.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/nativeaot/Common/src/System/Collections/Concurrent/ConcurrentUnifierWKeyed.cs b/src/coreclr/nativeaot/Common/src/System/Collections/Concurrent/ConcurrentUnifierWKeyed.cs index 49938feb8af..48708eac12a 100644 --- a/src/coreclr/nativeaot/Common/src/System/Collections/Concurrent/ConcurrentUnifierWKeyed.cs +++ b/src/coreclr/nativeaot/Common/src/System/Collections/Concurrent/ConcurrentUnifierWKeyed.cs @@ -161,7 +161,7 @@ namespace System.Collections.Concurrent return heyIWasHereFirst; if (!_container.HasCapacity) _container.Resize(); // This overwrites the _container field. - _container.Add(key, hashCode, value); + _container.Add(hashCode, value); return value; } } @@ -218,7 +218,7 @@ namespace System.Collections.Concurrent return false; } - public void Add(K key, int hashCode, V value) + public void Add(int hashCode, V value) { Debug.Assert(_owner._lock.IsAcquired); |