1 override of CreateT
Microsoft.CodeAnalysis.UnitTests (1)
Collections\List\SegmentedList.Generic.Tests.AsNonGenericIList.cs (1)
50
protected override object
CreateT
(int seed)
40 references to CreateT
Microsoft.CodeAnalysis.UnitTests (40)
Collections\List\IList.NonGeneric.Tests.cs (40)
50
object toAdd =
CreateT
(seed++);
52
toAdd =
CreateT
(seed++);
115
casted.Add(
CreateT
(2344));
128
casted.Insert(0,
CreateT
(12));
164
casted[0] =
CreateT
(12);
253
object validAdd =
CreateT
(0);
267
object validAdd =
CreateT
(0);
281
Assert.Throws<NotSupportedException>(() => list[count / 2] =
CreateT
(321432));
293
object value =
CreateT
(123452);
319
object value =
CreateT
(123452);
347
object value =
CreateT
(123452);
396
collection.Add(
CreateT
(i));
413
collection.Add(
CreateT
(i));
443
object duplicateValue =
CreateT
(700);
474
object toAdd =
CreateT
(seed++);
476
toAdd =
CreateT
(seed++);
480
toAdd =
CreateT
(seed++);
482
toAdd =
CreateT
(seed++);
499
collection.Add(
CreateT
(254));
511
Assert.Throws<NotSupportedException>(() => collection.Add(
CreateT
(0)));
524
object toAdd =
CreateT
(seed++);
526
toAdd =
CreateT
(seed++);
564
object item =
CreateT
(seed++);
566
item =
CreateT
(seed++);
607
object item =
CreateT
(12);
672
object value =
CreateT
(12345);
738
object validAdd =
CreateT
(0);
752
object validAdd =
CreateT
(12350);
766
Assert.Throws<NotSupportedException>(() => list.Insert(count / 2,
CreateT
(321432)));
778
object value =
CreateT
(123452);
806
object value =
CreateT
(123452);
836
object value =
CreateT
(123452);
870
Assert.Throws<NotSupportedException>(() => collection.Remove(
CreateT
(34543)));
901
object value =
CreateT
(seed++);
903
value =
CreateT
(seed++);
944
object value =
CreateT
(seed++);
963
object value =
CreateT
(seed++);
1016
object validAdd =
CreateT
(0);
1030
object validAdd =
CreateT
(0);
1108
collection.Add(
CreateT
(seed++));