refactor: Resolving warning

This commit is contained in:
Chris Cameron
2018-05-04 15:08:13 -04:00
parent 38fa698d46
commit b41a236716

View File

@@ -135,6 +135,7 @@ namespace ICD.Common.Utils.Collections
} }
set set
{ {
// ReSharper disable once CompareNonConstrainedGenericWithNull
if (key == null) if (key == null)
throw new ArgumentNullException("key"); throw new ArgumentNullException("key");
@@ -172,6 +173,7 @@ namespace ICD.Common.Utils.Collections
public void Add(TKey key, TValue value) public void Add(TKey key, TValue value)
{ {
// ReSharper disable once CompareNonConstrainedGenericWithNull
if (key == null) if (key == null)
throw new ArgumentNullException("key"); throw new ArgumentNullException("key");