aboutsummaryrefslogtreecommitdiff
path: root/src/wix/WixToolset.Converters/HashSetExtensions.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wix/WixToolset.Converters/HashSetExtensions.cs')
-rw-r--r--src/wix/WixToolset.Converters/HashSetExtensions.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wix/WixToolset.Converters/HashSetExtensions.cs b/src/wix/WixToolset.Converters/HashSetExtensions.cs
new file mode 100644
index 00000000..49b0d4ac
--- /dev/null
+++ b/src/wix/WixToolset.Converters/HashSetExtensions.cs
@@ -0,0 +1,17 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Converters
4{
5 using System.Collections.Generic;
6
7 internal static class HashSetExtensions
8 {
9 public static void AddRange<T>(this HashSet<T> set, IEnumerable<T> values)
10 {
11 foreach (var value in values)
12 {
13 set.Add(value);
14 }
15 }
16 }
17}