projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d5948
)
Use non-inlineable overload for rare CompareOrdinalIgnoreCase path (#17492)
author
Jan Kotas
<jkotas@microsoft.com>
Tue, 10 Apr 2018 11:56:33 +0000
(
04:56
-0700)
committer
GitHub
<noreply@github.com>
Tue, 10 Apr 2018 11:56:33 +0000
(
04:56
-0700)
This fixes regression introduced in #17237.
src/mscorlib/shared/System/String.Comparison.cs
patch
|
blob
|
history
diff --git
a/src/mscorlib/shared/System/String.Comparison.cs
b/src/mscorlib/shared/System/String.Comparison.cs
index
2a8be32
..
32951b4
100644
(file)
--- 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));