8 instantiations of GenericParameterHelper
Microsoft.CodeAnalysis.UnitTests (8)
Collections\ImmutableDictionaryTestBase.cs (1)
101
ContainsKeyTestHelper(Empty<int, GenericParameterHelper>(), 1, new
GenericParameterHelper
());
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (5)
91
map = map.AddRange(Enumerable.Range(1, 100).Select(n => new KeyValuePair<int, GenericParameterHelper>(n, new
GenericParameterHelper
())));
146
map = AddTestHelper(map, i, new
GenericParameterHelper
(i));
160
map = AddTestHelper(map, i, new
GenericParameterHelper
(i));
177
map = AddTestHelper(map, inputs[i], new
GenericParameterHelper
());
234
map = AddTestHelper(map, i, new
GenericParameterHelper
(i));
Collections\ImmutableSegmentedDictionaryTest.cs (1)
74
ContainsValueTestHelper(ImmutableSegmentedDictionary<int, GenericParameterHelper>.Empty, 1, new
GenericParameterHelper
());
Collections\ImmutableSegmentedListTest.cs (1)
113
Assert.Equal(-1, empty.IndexOf(new
GenericParameterHelper
()));
27 references to GenericParameterHelper
Microsoft.CodeAnalysis.UnitTests (27)
Collections\GenericParameterHelper.cs (1)
31
if (obj is
GenericParameterHelper
other)
Collections\ImmutableDictionaryTestBase.cs (2)
37
RemoveTestHelper(Empty<int,
GenericParameterHelper
?>(), 5);
101
ContainsKeyTestHelper(Empty<int,
GenericParameterHelper
>(), 1, new GenericParameterHelper());
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (16)
25
EnumeratorTestHelper(this.Empty<int,
GenericParameterHelper
>());
43
AddAscendingTestHelper(Empty<int,
GenericParameterHelper
>());
90
var map = Empty<int,
GenericParameterHelper
>();
91
map = map.AddRange(Enumerable.Range(1, 100).Select(n => new KeyValuePair<int,
GenericParameterHelper
>(n, new GenericParameterHelper())));
96
var map2 = Empty<int,
GenericParameterHelper
>();
110
AddDescendingTestHelper(Empty<int,
GenericParameterHelper
>());
116
AddRemoveRandomDataTestHelper(Empty<double,
GenericParameterHelper
>());
140
protected static void AddAscendingTestHelper(IImmutableDictionary<int,
GenericParameterHelper
> map)
156
protected static void AddDescendingTestHelper(IImmutableDictionary<int,
GenericParameterHelper
> map)
170
protected static void AddRemoveRandomDataTestHelper(IImmutableDictionary<double,
GenericParameterHelper
> map)
230
protected static void EnumeratorTestHelper(IImmutableDictionary<int,
GenericParameterHelper
> map)
238
foreach (KeyValuePair<int,
GenericParameterHelper
> pair in map)
246
Assert.Equal<KeyValuePair<int,
GenericParameterHelper
>>(list, ToListNonGeneric<KeyValuePair<int,
GenericParameterHelper
>>(map));
264
Assert.Equal(default(KeyValuePair<int,
GenericParameterHelper
>), manualEnum.Current);
267
Assert.Equal(default(KeyValuePair<int,
GenericParameterHelper
>), manualEnum.Current);
Collections\ImmutableSegmentedDictionaryTest.cs (1)
74
ContainsValueTestHelper(ImmutableSegmentedDictionary<int,
GenericParameterHelper
>.Empty, 1, new GenericParameterHelper());
Collections\ImmutableSegmentedDictionaryTest.nonnetstandard.cs (1)
29
var emptyMap = Empty<int,
GenericParameterHelper
>(new BadHasher<int>());
Collections\ImmutableSegmentedListTest.cs (6)
107
var empty = ImmutableSegmentedList<
GenericParameterHelper
?>.Empty;
108
Assert.True(IsSame(empty, ImmutableSegmentedList<
GenericParameterHelper
>.Empty));
110
Assert.True(IsSame(empty, ((System.Collections.Immutable.IImmutableList<
GenericParameterHelper
>)empty).Clear()));
312
var list = ImmutableSegmentedList<
GenericParameterHelper
?>.Empty;
316
list = list.Add((
GenericParameterHelper
?)null);
322
list = list.Remove((
GenericParameterHelper
?)null);