Renaming ToHashSet method to avoid collision

This commit is contained in:
Chris Cameron
2018-01-09 11:05:45 -05:00
parent 46c9cb0cf0
commit e377f7993b
4 changed files with 5 additions and 5 deletions

View File

@@ -309,7 +309,7 @@ namespace ICD.Common.Utils.Tests.Extensions
[Test]
public void ToHashSetTest()
{
IcdHashSet<int> values = EnumerableExtensions.ToHashSet(new[] {1, 2, 3});
IcdHashSet<int> values = new[] {1, 2, 3}.ToIcdHashSet();
Assert.AreEqual(3, values.Count);
Assert.IsTrue(values.Contains(1));