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