mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
Merge remote-tracking branch 'origin/MetLife_v5.4' into ConnectPro_v1.1
This commit is contained in:
commit
fac2610b83
1 changed files with 2 additions and 1 deletions
|
|
@ -165,8 +165,9 @@ namespace ICD.Common.Utils.Extensions
|
|||
|
||||
if (characters == null)
|
||||
throw new ArgumentNullException("characters");
|
||||
var cSet = characters.ToIcdHashSet();
|
||||
|
||||
return new string(extends.Except(characters).ToArray());
|
||||
return new string(extends.Where(c => !cSet.Contains(c)).ToArray());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue