From 00db478ef696f34e366213ad43cbd2eda4019051 Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Thu, 7 Jun 2018 11:26:37 -0400 Subject: [PATCH] fix: Fixing bad validation in EnumerableExtensions --- ICD.Common.Utils/Extensions/EnumerableExtensions.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ICD.Common.Utils/Extensions/EnumerableExtensions.cs b/ICD.Common.Utils/Extensions/EnumerableExtensions.cs index 1321284..d2e88d9 100644 --- a/ICD.Common.Utils/Extensions/EnumerableExtensions.cs +++ b/ICD.Common.Utils/Extensions/EnumerableExtensions.cs @@ -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.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)