1 write to _appended
System.Linq (1)
System\Linq\AppendPrepend.cs (1)
186_appended = appended;
10 references to _appended
System.Linq (10)
System\Linq\AppendPrepend.cs (6)
191private protected override Iterator<TSource> Clone() => new AppendPrependN<TSource>(_source, _prepended, _appended, _prependCount, _appendCount); 218if (_appended is null) 223_enumerator = ((IEnumerable<TSource>)_appended.ToArray(_appendCount)).GetEnumerator(); 236var appended = _appended is not null ? _appended.Add(item) : new SingleLinkedNode<TSource>(item); 243return new AppendPrependN<TSource>(_source, prepended, _appended, _prependCount + 1, _appendCount);
System\Linq\AppendPrepend.SpeedOpt.cs (4)
193_appended?.FillReversed(result); 213_appended?.FillReversed(result); 248for (SingleLinkedNode<TSource>? node = _appended; node is not null; node = node.Linked) 266_appended?.FillReversed(SetCountAndGetSpan(list, list.Count + _appendCount));