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