3 references to ICollectionToArray
System.Linq (3)
System\Linq\Distinct.SpeedOpt.cs (1)
12
public override TSource[] ToArray() =>
ICollectionToArray
(new HashSet<TSource>(_source, _comparer));
System\Linq\ToCollection.cs (1)
23
return
ICollectionToArray
(collection);
System\Linq\Union.SpeedOpt.cs (1)
27
public override TSource[] ToArray() =>
ICollectionToArray
(FillSet());