5 references to BadHasher
Microsoft.CodeAnalysis.UnitTests (5)
Collections\ImmutableSegmentedDictionaryTest.nonnetstandard.cs (1)
29var emptyMap = Empty<int, GenericParameterHelper>(new BadHasher<int>());
Collections\ImmutableSegmentedHashSetTest.cs (4)
71var emptySet = EmptyTyped<int>().WithComparer(new BadHasher<int>()); 78var emptySet = EmptyTyped<string>().WithComparer(new BadHasher<string>()); 161var set = ImmutableSegmentedHashSet.Create<int>(new BadHasher<int>(), 5, 6); 176var set = ImmutableSegmentedHashSet.Create<string>(new BadHasher<string>(), "a", "b");