From 923866dbdf1f1d1755002821352bfca29ae0442d Mon Sep 17 00:00:00 2001 From: Chris Cameron Date: Fri, 2 Nov 2018 16:28:05 -0400 Subject: [PATCH] feat: Validation --- ICD.Common.Utils/Collections/IcdHashSet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ICD.Common.Utils/Collections/IcdHashSet.cs b/ICD.Common.Utils/Collections/IcdHashSet.cs index 5ce5fd7..9c68435 100644 --- a/ICD.Common.Utils/Collections/IcdHashSet.cs +++ b/ICD.Common.Utils/Collections/IcdHashSet.cs @@ -228,7 +228,7 @@ namespace ICD.Common.Utils.Collections public bool SetEquals(IcdHashSet set) { if (set == null) - return Count == 0; + throw new ArgumentNullException("set"); return Count == set.Count && set.All(Contains); }