You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Polyfill/Polyfill_Memory_SpanSort.cs
+26-9Lines changed: 26 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,25 @@
1
-
#if FeatureMemory
1
+
#if FeatureMemory&&!NET5_0_OR_GREATER
2
2
3
3
namespacePolyfills;
4
4
5
-
#if !NET5_0_OR_GREATER
6
5
usingSystem;
7
6
usingSystem.Collections.Generic;
8
7
usingSystem.Buffers;
9
-
#endif
10
8
11
9
staticpartialclassPolyfill
12
10
{
13
-
#if !NET5_0_OR_GREATER
11
+
/// <summary>
12
+
/// Sorts the elements in the entire <see cref="Span{T}"/> using the <see cref="IComparable{T}"/> implementation of each element of the <see cref="Span{T}"/>.
/// Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="Span{T}"/> using the <see cref=" IComparable{T}"/> implementation of each key.
/// Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="Span{T}"/> using the specified comparer.
/// Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first <see cref="Span{T}"/> using the specified comparison.
0 commit comments