mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
fix: Fixing bad validation in EnumerableExtensions
This commit is contained in:
@@ -206,7 +206,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
if (extends == null)
|
if (extends == null)
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
if (extends == null)
|
if (other == null)
|
||||||
throw new ArgumentNullException("other");
|
throw new ArgumentNullException("other");
|
||||||
|
|
||||||
if (comparer == null)
|
if (comparer == null)
|
||||||
@@ -245,7 +245,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
if (extends == null)
|
if (extends == null)
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
if (extends == null)
|
if (other == null)
|
||||||
throw new ArgumentNullException("other");
|
throw new ArgumentNullException("other");
|
||||||
|
|
||||||
return extends.ScrambledEquals(other, EqualityComparer<T>.Default);
|
return extends.ScrambledEquals(other, EqualityComparer<T>.Default);
|
||||||
@@ -264,7 +264,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
if (extends == null)
|
if (extends == null)
|
||||||
throw new ArgumentNullException("extends");
|
throw new ArgumentNullException("extends");
|
||||||
|
|
||||||
if (extends == null)
|
if (other == null)
|
||||||
throw new ArgumentNullException("other");
|
throw new ArgumentNullException("other");
|
||||||
|
|
||||||
if (comparer == null)
|
if (comparer == null)
|
||||||
|
|||||||
Reference in New Issue
Block a user