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
();
652
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (6)
65
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
114
SegmentedHashSet<T> set = new SegmentedHashSet<T>(source,
GetIEqualityComparer
());
133
SegmentedHashSet<T> set = new SegmentedHashSet<T>(enumerable,
GetIEqualityComparer
());
407
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
420
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
433
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\List\ICollection.Generic.Tests.cs (1)
58
IEqualityComparer<T> comparer =
GetIEqualityComparer
();
Collections\List\TestBase.Generic.cs (3)
234
SegmentedHashSet<T> set = new SegmentedHashSet<T>(
GetIEqualityComparer
());
250
while (set.Contains(toAdd) || (match != null && match.Contains(toAdd,
GetIEqualityComparer
()))) // Don't want any unexpectedly duplicate values
292
while (set.Contains(toAdd) || (match != null && match.Contains(toAdd,
GetIEqualityComparer
()))) // Don't want any unexpectedly duplicate values