main
cs 17 lines 529 Bytes
Raw
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
3 namespace 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 }