diff --git a/src/libraries/System.Private.CoreLib/src/System/Array.cs b/src/libraries/System.Private.CoreLib/src/System/Array.cs index 40d3a064f4f8f8..fa80d26e412b21 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Array.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Array.cs @@ -1936,7 +1936,7 @@ private void IntrospectiveSort(int left, int length) private void IntroSort(int lo, int hi, int depthLimit) { - Debug.Assert(hi > lo); + Debug.Assert(hi >= lo); Debug.Assert(depthLimit >= 0); while (hi > lo) @@ -2150,7 +2150,7 @@ private void IntrospectiveSort(int left, int length) private void IntroSort(int lo, int hi, int depthLimit) { - Debug.Assert(hi > lo); + Debug.Assert(hi >= lo); Debug.Assert(depthLimit >= 0); while (hi > lo)