31 overrides of ToList
System.Linq (31)
System\Linq\AppendPrepend.SpeedOpt.cs (2)
97
public override List<TSource>
ToList
()
257
public override List<TSource>
ToList
()
System\Linq\Concat.SpeedOpt.cs (1)
349
public override List<TSource>
ToList
()
System\Linq\DefaultIfEmpty.SpeedOpt.cs (1)
19
public override List<TSource>
ToList
()
System\Linq\Distinct.SpeedOpt.cs (1)
14
public override List<TSource>
ToList
() => new List<TSource>(new HashSet<TSource>(_source, _comparer));
System\Linq\Grouping.SpeedOpt.cs (4)
15
public override List<TResult>
ToList
() =>
27
public override List<TResult>
ToList
() =>
39
public override List<IGrouping<TKey, TElement>>
ToList
() =>
51
public override List<IGrouping<TKey, TSource>>
ToList
() =>
System\Linq\OrderedEnumerable.SpeedOpt.cs (2)
28
public override List<TElement>
ToList
()
545
public override List<TElement>
ToList
() => _source.ToList(_minIndexInclusive, _maxIndexInclusive);
System\Linq\Range.SpeedOpt.cs (1)
25
public override List<int>
ToList
()
System\Linq\Repeat.SpeedOpt.cs (1)
24
public override List<TResult>
ToList
()
System\Linq\Reverse.SpeedOpt.cs (1)
19
public override List<TSource>
ToList
()
System\Linq\Select.SpeedOpt.cs (7)
33
public override List<TResult>
ToList
()
152
public override List<TResult>
ToList
()
281
public override List<TResult>
ToList
()
379
public override List<TResult>
ToList
()
481
public override List<TResult>
ToList
()
724
public override List<TResult>
ToList
()
906
public override List<TResult>
ToList
()
System\Linq\SelectMany.SpeedOpt.cs (1)
49
public override List<TResult>
ToList
()
System\Linq\SkipTake.SpeedOpt.cs (2)
133
public override List<TSource>
ToList
()
492
public override List<TSource>
ToList
()
System\Linq\Union.SpeedOpt.cs (1)
29
public override List<TSource>
ToList
() => new List<TSource>(FillSet());
System\Linq\Where.SpeedOpt.cs (6)
56
public override List<TSource>
ToList
()
202
public override List<TSource>
ToList
() => ToList(_source, _predicate);
290
public override List<TSource>
ToList
() => ArrayWhereIterator<TSource>.ToList(CollectionsMarshal.AsSpan(_source), _predicate);
405
public override List<TResult>
ToList
() => ToList(_source, _predicate, _selector);
492
public override List<TResult>
ToList
() => ArrayWhereSelectIterator<TSource, TResult>.ToList(CollectionsMarshal.AsSpan(_source), _predicate, _selector);
551
public override List<TResult>
ToList
()
1 reference to ToList
System.Linq (1)
System\Linq\ToCollection.cs (1)
70
return iterator.
ToList
();