1 write to _prepended
System.Linq (1)
System\Linq\AppendPrepend.cs (1)
185_prepended = prepended;
9 references to _prepended
System.Linq (9)
System\Linq\AppendPrepend.cs (5)
191private protected override Iterator<TSource> Clone() => new AppendPrependN<TSource>(_source, _prepended, _appended, _prependCount, _appendCount); 198_node = _prepended; 237return new AppendPrependN<TSource>(_source, _prepended, appended, _prependCount, _appendCount + 1); 242var prepended = _prepended is not null ? _prepended.Add(item) : new SingleLinkedNode<TSource>(item);
System\Linq\AppendPrepend.SpeedOpt.cs (4)
191_prepended?.Fill(result); 204for (SingleLinkedNode<TSource>? node = _prepended; node is not null; node = node.Linked) 228for (SingleLinkedNode<TSource>? node = _prepended; node is not null; node = node.Linked) 262_prepended?.Fill(SetCountAndGetSpan(list, _prependCount));