7 overrides of GetIEqualityComparer
Microsoft.CodeAnalysis.UnitTests (7)
Collections\HashSet\SegmentedHashSet_Generic_Tests.cs (7)
42
protected override IEqualityComparer<int>
GetIEqualityComparer
()
66
protected override IEqualityComparer<SimpleInt>
GetIEqualityComparer
()
104
protected override IEqualityComparer<int>
GetIEqualityComparer
()
123
protected override IEqualityComparer<int>
GetIEqualityComparer
()
142
protected override IEqualityComparer<int>
GetIEqualityComparer
()
166
protected override IEqualityComparer<int>
GetIEqualityComparer
()
185
protected override IEqualityComparer<int>
GetIEqualityComparer
()
23 references to GetIEqualityComparer
Microsoft.CodeAnalysis.UnitTests (23)
Collections\HashSet\ISet_Generic_Tests`1.cs (13)
60
while (set.Contains(toAdd) || (InvalidValues != Array.Empty<T>() && InvalidValues.Contains(toAdd,
GetIEqualityComparer
())))
135
HashSet<T> expected = new HashSet<T>(set,
GetIEqualityComparer
());
153
HashSet<T> beforeOperation = new HashSet<T>(set,
GetIEqualityComparer
());
159
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
174
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
198
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
221
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
233
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
245
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
259
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
281
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
296
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
601
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (6)
63
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
112
SegmentedHashSet<T> set = new SegmentedHashSet<T>(source,
GetIEqualityComparer
());
131
SegmentedHashSet<T> set = new SegmentedHashSet<T>(enumerable,
GetIEqualityComparer
());
405
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
418
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
431
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\List\ICollection.Generic.Tests.cs (1)
56
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\List\TestBase.Generic.cs (3)
227
SegmentedHashSet<T> set = new SegmentedHashSet<T>(
GetIEqualityComparer
());
243
while (set.Contains(toAdd) || (match != null && match.Contains(toAdd,
GetIEqualityComparer
()))) // Don't want any unexpectedly duplicate values
285
while (set.Contains(toAdd) || (match != null && match.Contains(toAdd,
GetIEqualityComparer
()))) // Don't want any unexpectedly duplicate values