14 overrides of CreateT
Microsoft.CodeAnalysis.UnitTests (14)
Collections\HashSet\SegmentedHashSet_Generic_Tests.cs (10)
19
protected override string
CreateT
(int seed)
31
protected override int
CreateT
(int seed)
52
protected override int
CreateT
(int seed)
76
protected override SimpleInt
CreateT
(int seed)
90
protected override EquatableBackwardsOrder
CreateT
(int seed)
109
protected override int
CreateT
(int seed)
128
protected override int
CreateT
(int seed)
152
protected override int
CreateT
(int seed)
171
protected override int
CreateT
(int seed)
190
protected override int
CreateT
(int seed)
Collections\List\SegmentedList.Generic.cs (4)
19
protected override string
CreateT
(int seed)
31
protected override int
CreateT
(int seed)
40
protected override string
CreateT
(int seed)
66
protected override int
CreateT
(int seed)
83 references to CreateT
Microsoft.CodeAnalysis.UnitTests (83)
Collections\HashSet\ISet_Generic_Tests`1.cs (7)
59
T toAdd =
CreateT
(seed++);
61
toAdd =
CreateT
(seed++);
91
T newValue =
CreateT
(seed++);
93
newValue =
CreateT
(seed++);
112
T duplicateValue =
CreateT
(seed++);
114
duplicateValue =
CreateT
(seed++);
594
T value =
CreateT
(532);
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (21)
292
List<T> objects = new List<T>() {
CreateT
(1),
CreateT
(2),
CreateT
(3),
CreateT
(4),
CreateT
(5),
CreateT
(6) };
326
List<T> objects = new List<T>() {
CreateT
(1),
CreateT
(2),
CreateT
(3),
CreateT
(4),
CreateT
(5),
CreateT
(6) };
441
T value =
CreateT
(1);
443
T equalValue =
CreateT
(1);
455
T value =
CreateT
(1);
457
T equalValue =
CreateT
(1);
459
T? actualValue =
CreateT
(2);
472
T value =
CreateT
(1);
474
T equalValue =
CreateT
(2);
482
T value =
CreateT
(1);
484
T equalValue =
CreateT
(2);
Collections\List\ICollection.Generic.Tests.cs (22)
59
T toAdd =
CreateT
(seed++);
61
toAdd =
CreateT
(seed++);
87
casted.Add(
CreateT
(2344));
170
collection.Add(
CreateT
(i));
187
collection.Add(
CreateT
(i));
215
T duplicateValue =
CreateT
(700);
244
T toAdd =
CreateT
(seed++);
246
toAdd =
CreateT
(seed++);
250
toAdd =
CreateT
(seed++);
252
toAdd =
CreateT
(seed++);
270
collection.Add(
CreateT
(254));
282
Assert.Throws<NotSupportedException>(() => collection.Add(
CreateT
(0)));
295
T toAdd =
CreateT
(seed++);
297
toAdd =
CreateT
(seed++);
356
T item =
CreateT
(seed++);
358
item =
CreateT
(seed++);
399
T item =
CreateT
(12);
516
Assert.Throws<NotSupportedException>(() => collection.Remove(
CreateT
(34543)));
547
T value =
CreateT
(seed++);
549
value =
CreateT
(seed++);
582
T value =
CreateT
(seed++);
601
T value =
CreateT
(seed++);
Collections\List\IList.Generic.Tests.cs (20)
60
casted.Insert(0,
CreateT
(12));
73
casted[0] =
CreateT
(12);
148
T validAdd =
CreateT
(0);
162
T validAdd =
CreateT
(0);
177
Assert.Throws<NotSupportedException>(() => list[count / 2] =
CreateT
(321432));
189
T value =
CreateT
(123452);
222
T value =
CreateT
(123452);
257
T value =
CreateT
(123452);
330
T value =
CreateT
(seed++);
332
value =
CreateT
(seed++);
344
T value =
CreateT
(12345);
405
T validAdd =
CreateT
(0);
419
T validAdd =
CreateT
(12350);
433
Assert.Throws<NotSupportedException>(() => list.Insert(count / 2,
CreateT
(321432)));
445
T value =
CreateT
(123452);
473
T value =
CreateT
(123452);
503
T value =
CreateT
(123452);
544
T validAdd =
CreateT
(0);
558
T validAdd =
CreateT
(0);
640
collection.Add(
CreateT
(seed++));
Collections\List\SegmentedList.Generic.Tests.BinarySearch.cs (1)
68
T element =
CreateT
(3215);
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (4)
195
T element =
CreateT
(234);
207
T element =
CreateT
(234);
222
T element =
CreateT
(234);
235
T element =
CreateT
(234);
Collections\List\TestBase.Generic.cs (8)
149
T toEnqueue =
CreateT
(seed++);
151
toEnqueue =
CreateT
(seed++);
198
T toAdd =
CreateT
(seed++);
200
toAdd =
CreateT
(seed++);
242
T toAdd =
CreateT
(seed++);
244
toAdd =
CreateT
(seed++);
284
T toAdd =
CreateT
(seed++);
286
toAdd =
CreateT
(seed++);