mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-11 18:54:55 +00:00
feat: Validation
This commit is contained in:
@@ -228,7 +228,7 @@ namespace ICD.Common.Utils.Collections
|
||||
public bool SetEquals(IcdHashSet<T> set)
|
||||
{
|
||||
if (set == null)
|
||||
return Count == 0;
|
||||
throw new ArgumentNullException("set");
|
||||
|
||||
return Count == set.Count && set.All(Contains);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user