System.Linq.AsyncCachingComparerWithChild<TElement, TKey>
namespace System.Linq
{
[NullableContext(1)]
[Nullable(0)]
internal abstract class AsyncEnumerableSorter<[Nullable(2)] TElement>
{
internal abstract ValueTask ComputeKeys(TElement[] elements, int count);
internal abstract int CompareAnyKeys(int index1, int index2);
[AsyncStateMachine(typeof(AsyncEnumerableSorter<>.<Sort>d__2))]
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1
})]
public ValueTask<int[]> Sort(TElement[] elements, int count);
[AsyncStateMachine(typeof(AsyncEnumerableSorter<>.<Sort>d__3))]
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1
})]
public ValueTask<int[]> Sort(TElement[] elements, int count, int minIndexInclusive, int maxIndexInclusive);
[AsyncStateMachine(typeof(AsyncEnumerableSorter<>.<ElementAt>d__4))]
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1
})]
public ValueTask<TElement> ElementAt(TElement[] elements, int count, int index);
[AsyncStateMachine(typeof(AsyncEnumerableSorter<>.<ComputeMap>d__5))]
[return: System.Runtime.CompilerServices.Nullable(new byte[] {
0,
1
})]
private ValueTask<int[]> ComputeMap(TElement[] elements, int count);
protected abstract void QuickSort(int[] map, int left, int right);
protected abstract void PartialQuickSort(int[] map, int left, int right, int minIndexInclusive, int maxIndexInclusive);
protected abstract int QuickSelect(int[] map, int right, int idx);
protected abstract int Min(int[] map, int count);
protected AsyncEnumerableSorter();
}
}
namespace System.Linq
{
}