summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mscorlib/shared/System/String.Comparison.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/shared/System/String.Comparison.cs b/src/mscorlib/shared/System/String.Comparison.cs
index 2a8be32d3f..32951b4aa5 100644
--- a/src/mscorlib/shared/System/String.Comparison.cs
+++ b/src/mscorlib/shared/System/String.Comparison.cs
@@ -317,7 +317,7 @@ namespace System
return CompareOrdinalIgnoreCaseHelper(strA, strB);
}
#endif
- return CompareInfo.CompareOrdinalIgnoreCase(strA, strB);
+ return CompareInfo.CompareOrdinalIgnoreCase(strA, 0, strA.Length, strB, 0, strB.Length);
default:
throw new ArgumentException(SR.NotSupported_StringComparison, nameof(comparisonType));