mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +00:00
feat: Validation
This commit is contained in:
parent
a14b4a5803
commit
923866dbdf
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue