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)
20
protected override string
CreateT
(int seed)
32
protected override int
CreateT
(int seed)
41
protected override string
CreateT
(int seed)
69
protected override int
CreateT
(int seed)
85 references to CreateT
Microsoft.CodeAnalysis.UnitTests (85)
Collections\HashSet\ISet_Generic_Tests`1.cs (8)
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++);
330
Assert.Throws<NotSupportedException>(() => set.Add(
CreateT
(0)));
646
T value =
CreateT
(532);
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (21)
294
List<T> objects = new List<T>() {
CreateT
(1),
CreateT
(2),
CreateT
(3),
CreateT
(4),
CreateT
(5),
CreateT
(6) };
328
List<T> objects = new List<T>() {
CreateT
(1),
CreateT
(2),
CreateT
(3),
CreateT
(4),
CreateT
(5),
CreateT
(6) };
443
T value =
CreateT
(1);
445
T equalValue =
CreateT
(1);
457
T value =
CreateT
(1);
459
T equalValue =
CreateT
(1);
461
T? actualValue =
CreateT
(2);
474
T value =
CreateT
(1);
476
T equalValue =
CreateT
(2);
484
T value =
CreateT
(1);
486
T equalValue =
CreateT
(2);
Collections\List\ICollection.Generic.Tests.cs (22)
61
T toAdd =
CreateT
(seed++);
63
toAdd =
CreateT
(seed++);
89
casted.Add(
CreateT
(2344));
172
collection.Add(
CreateT
(i));
189
collection.Add(
CreateT
(i));
217
T duplicateValue =
CreateT
(700);
246
T toAdd =
CreateT
(seed++);
248
toAdd =
CreateT
(seed++);
252
toAdd =
CreateT
(seed++);
254
toAdd =
CreateT
(seed++);
272
collection.Add(
CreateT
(254));
284
Assert.Throws<NotSupportedException>(() => collection.Add(
CreateT
(0)));
297
T toAdd =
CreateT
(seed++);
299
toAdd =
CreateT
(seed++);
398
T item =
CreateT
(seed++);
400
item =
CreateT
(seed++);
443
T item =
CreateT
(12);
560
Assert.Throws<NotSupportedException>(() => collection.Remove(
CreateT
(34543)));
591
T value =
CreateT
(seed++);
593
value =
CreateT
(seed++);
626
T value =
CreateT
(seed++);
645
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.Capacity.cs (1)
42
list.Add(
CreateT
(i));
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)
156
T toEnqueue =
CreateT
(seed++);
158
toEnqueue =
CreateT
(seed++);
205
T toAdd =
CreateT
(seed++);
207
toAdd =
CreateT
(seed++);
249
T toAdd =
CreateT
(seed++);
251
toAdd =
CreateT
(seed++);
291
T toAdd =
CreateT
(seed++);
293
toAdd =
CreateT
(seed++);