Implemented interface member:
60 references to Add
Microsoft.CodeAnalysis (10)
PEWriter\FullMetadataWriter.cs (1)
468
_rows.
Add
(item);
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1+ValueBuilder.cs (1)
87
=> GetOrCreateMutableList().
Add
(item);
src\Dependencies\Collections\Segmented\SegmentedList`1.cs (4)
118
Add
(en.Current);
283
Add
((T)item!);
338
Add
(en.Current);
605
list.
Add
(_items[i]);
Text\LargeText.cs (2)
281
list.
Add
(position);
289
list.
Add
(position);
Text\SourceText.cs (2)
1093
lineStarts.
Add
(position + index);
1130
lineStarts.
Add
(position + index);
Microsoft.CodeAnalysis.UnitTests (50)
Collections\List\SegmentedList.Generic.Tests.AddRange.cs (1)
131
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.Capacity.cs (1)
42
list.
Add
(CreateT(i));
Collections\List\SegmentedList.Generic.Tests.Find.cs (24)
254
list.
Add
(default(T));
272
list.
Add
(beforeList[0]);
282
list.
Add
(beforeList[1]);
307
list.
Add
(i + 1);
332
list.
Add
(beforeList[i]);
353
list.
Add
(default(T));
371
list.
Add
(beforeList[0]);
381
list.
Add
(beforeList[1]);
409
list.
Add
(beforeList[i]);
441
list.
Add
(beforeList[0]);
451
list.
Add
(beforeList[1]);
529
list.
Add
(beforeList[0]);
544
list.
Add
(beforeList[1]);
652
list.
Add
(beforeList[0]);
667
list.
Add
(beforeList[1]);
725
list.
Add
(beforeList[0]);
735
list.
Add
(beforeList[1]);
812
list.
Add
(beforeList[0]);
827
list.
Add
(beforeList[1]);
856
list.
Add
(beforeList[i]);
938
list.
Add
(beforeList[0]);
948
list.
Add
(beforeList[1]);
991
list.
Add
(list[i]);
1020
list.
Add
(i + 1);
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 (15)
357
list.
Add
(items[i]);
371
list.
Add
(items[i]);
391
list.
Add
(default(T));
406
list.
Add
(items[i]);
409
list.
Add
(items[i]);
469
list.
Add
(items[i]);
471
list.
Add
(items[i]);
482
list.
Add
(items[items.Length / 2]);
500
list.
Add
(value);
543
list.
Add
(items[i]);
545
list.
Add
(items[i]);
557
list.
Add
(items[items.Length / 2]);
577
list.
Add
(value);
678
list.
Add
(items[i]);
1170
list.
Add
(i + 1);
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]);