Implemented interface member:
52 references to Add
Microsoft.CodeAnalysis (6)
ImmutableSegmentedList`1+ValueBuilder.cs (1)
85
=> GetOrCreateMutableList().
Add
(item);
SegmentedList`1.cs (3)
114
Add
(en.Current);
253
Add
((T)item!);
472
list.
Add
(_items[i]);
Serialization\ObjectReader.cs (2)
339
_values.
Add
(null);
344
=> _values.
Add
(value);
Microsoft.CodeAnalysis.UnitTests (46)
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
68
list.
Add
(default);
Collections\List\SegmentedList.Generic.Tests.AsNonGenericIList.cs (1)
46
list.
Add
((string)CreateT(seed++));
Collections\List\SegmentedList.Generic.Tests.BinarySearch.cs (1)
49
list.
Add
(list[0]);
Collections\List\SegmentedList.Generic.Tests.Find.cs (22)
254
list.
Add
(default(T));
272
list.
Add
(beforeList[0]);
282
list.
Add
(beforeList[1]);
311
list.
Add
(beforeList[i]);
332
list.
Add
(default(T));
350
list.
Add
(beforeList[0]);
360
list.
Add
(beforeList[1]);
388
list.
Add
(beforeList[i]);
420
list.
Add
(beforeList[0]);
430
list.
Add
(beforeList[1]);
508
list.
Add
(beforeList[0]);
523
list.
Add
(beforeList[1]);
631
list.
Add
(beforeList[0]);
646
list.
Add
(beforeList[1]);
704
list.
Add
(beforeList[0]);
714
list.
Add
(beforeList[1]);
791
list.
Add
(beforeList[0]);
806
list.
Add
(beforeList[1]);
835
list.
Add
(beforeList[i]);
917
list.
Add
(beforeList[0]);
927
list.
Add
(beforeList[1]);
970
list.
Add
(list[i]);
Collections\List\SegmentedList.Generic.Tests.ForEach.cs (1)
28
Action<T> action = delegate (T item) { visitedItems.
Add
(item); };
Collections\List\SegmentedList.Generic.Tests.IndexOf.cs (1)
126
list.
Add
(defaultValue);
Collections\List\SegmentedList.Generic.Tests.Misc.cs (14)
329
list.
Add
(items[i]);
343
list.
Add
(items[i]);
363
list.
Add
(default(T));
378
list.
Add
(items[i]);
381
list.
Add
(items[i]);
441
list.
Add
(items[i]);
443
list.
Add
(items[i]);
454
list.
Add
(items[items.Length / 2]);
472
list.
Add
(value);
515
list.
Add
(items[i]);
517
list.
Add
(items[i]);
529
list.
Add
(items[items.Length / 2]);
549
list.
Add
(value);
650
list.
Add
(items[i]);
Collections\List\SegmentedList.Generic.Tests.Reverse.cs (1)
88
list.
Add
(list[0]);
Collections\List\SegmentedList.Generic.Tests.Sort.cs (4)
50
list.
Add
(list[0]);
81
list.
Add
(list[0]);
113
list.
Add
(list[0]);
149
unsortedList.
Add
(unsortedList[0]);