fix: Fixing bad validation in EnumerableExtensions

This commit is contained in:
Chris Cameron
2018-06-07 11:26:37 -04:00
parent aa3fc3bccc
commit 00db478ef6

View File

@@ -206,7 +206,7 @@ namespace ICD.Common.Utils.Extensions
if (extends == null)
throw new ArgumentNullException("extends");
if (extends == null)
if (other == null)
throw new ArgumentNullException("other");
if (comparer == null)
@@ -245,7 +245,7 @@ namespace ICD.Common.Utils.Extensions
if (extends == null)
throw new ArgumentNullException("extends");
if (extends == null)
if (other == null)
throw new ArgumentNullException("other");
return extends.ScrambledEquals(other, EqualityComparer<T>.Default);
@@ -264,7 +264,7 @@ namespace ICD.Common.Utils.Extensions
if (extends == null)
throw new ArgumentNullException("extends");
if (extends == null)
if (other == null)
throw new ArgumentNullException("other");
if (comparer == null)