mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-08 09:15:10 +00:00
refactor: Resolving warning
This commit is contained in:
@@ -135,6 +135,7 @@ namespace ICD.Common.Utils.Collections
|
||||
}
|
||||
set
|
||||
{
|
||||
// ReSharper disable once CompareNonConstrainedGenericWithNull
|
||||
if (key == null)
|
||||
throw new ArgumentNullException("key");
|
||||
|
||||
@@ -172,6 +173,7 @@ namespace ICD.Common.Utils.Collections
|
||||
|
||||
public void Add(TKey key, TValue value)
|
||||
{
|
||||
// ReSharper disable once CompareNonConstrainedGenericWithNull
|
||||
if (key == null)
|
||||
throw new ArgumentNullException("key");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user