We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1db71ea commit 22ff4f3Copy full SHA for 22ff4f3
1 file changed
src/libraries/System.Private.CoreLib/src/System/Array.cs
@@ -1936,7 +1936,7 @@ private void IntrospectiveSort(int left, int length)
1936
1937
private void IntroSort(int lo, int hi, int depthLimit)
1938
{
1939
- Debug.Assert(hi > lo);
+ Debug.Assert(hi >= lo);
1940
Debug.Assert(depthLimit >= 0);
1941
1942
while (hi > lo)
@@ -2150,7 +2150,7 @@ private void IntrospectiveSort(int left, int length)
2150
2151
2152
2153
2154
2155
2156
0 commit comments