7 references to Add
System.Linq (7)
System\Linq\AppendPrepend.cs (4)
143
return new AppendPrependN<TSource>(_source, null, new SingleLinkedNode<TSource>(_item).
Add
(item), prependCount: 0, appendCount: 2);
159
return new AppendPrependN<TSource>(_source, new SingleLinkedNode<TSource>(_item).
Add
(item), null, prependCount: 2, appendCount: 0);
236
var appended = _appended is not null ? _appended.
Add
(item) : new SingleLinkedNode<TSource>(item);
242
var prepended = _prepended is not null ? _prepended.
Add
(item) : new SingleLinkedNode<TSource>(item);
System\Linq\Union.cs (3)
241
var sources = new SingleLinkedNode<IEnumerable<TSource>>(_first).
Add
(_second).
Add
(next);
279
return new UnionIteratorN<TSource>(_sources.
Add
(next), _headIndex + 1, _comparer);