Fix bogus assert in ArraySortHelper (#6018)
Fixes #6016. Resolves #6015.
This commit is contained in:
Родитель
635cf21aca
Коммит
5ddf79df02
|
@ -654,10 +654,10 @@ namespace System.Collections.Generic
|
|||
private static void SwapIfGreaterWithItems(TKey[] keys, TValue[] values, IComparer<TKey> comparer, int a, int b)
|
||||
{
|
||||
Debug.Assert(keys != null);
|
||||
Debug.Assert(values != null && values.Length >= keys.Length);
|
||||
Debug.Assert(values != null);
|
||||
Debug.Assert(comparer != null);
|
||||
Debug.Assert(0 <= a && a < keys.Length);
|
||||
Debug.Assert(0 <= b && b < keys.Length);
|
||||
Debug.Assert(0 <= a && a < keys.Length && a < values.Length);
|
||||
Debug.Assert(0 <= b && b < keys.Length && b < values.Length);
|
||||
|
||||
if (a != b)
|
||||
{
|
||||
|
|
|
@ -775,18 +775,6 @@
|
|||
"namespaces": null,
|
||||
"classes": null,
|
||||
"methods": [
|
||||
{
|
||||
"name": "System.Tests.TupleTests.CompareTo",
|
||||
"reason": "https://github.com/dotnet/corert/issues/6015"
|
||||
},
|
||||
{
|
||||
"name": "System.Tests.TupleTests.Equals_GetHashCode",
|
||||
"reason": "https://github.com/dotnet/corert/issues/6015"
|
||||
},
|
||||
{
|
||||
"name": "System.Tests.ArrayTests.Sort_Array_Array_NonGeneric",
|
||||
"reason": "https://github.com/dotnet/corert/issues/6016"
|
||||
},
|
||||
{
|
||||
"name": "System.Reflection.Tests.MethodInfoTests.TestEquality2",
|
||||
"reason": "Xunit.Sdk.EqualException"
|
||||
|
|
Загрузка…
Ссылка в новой задаче