Cleanup/optimize some String.Compare overloads, part 2 (dotnet/coreclr#6891)
authorJames Ko <jamesqko@gmail.com>
Mon, 29 Aug 2016 14:32:43 +0000 (10:32 -0400)
committerJan Kotas <jkotas@microsoft.com>
Mon, 29 Aug 2016 14:32:43 +0000 (07:32 -0700)
commit26cc3d239157dc0d6e378d8d9391a73e8632309b
tree4afb155847d03d724cd76e96d5c97e12a28c524f
parent0f24370ce18950eecb2b254df42d937247c38974
Cleanup/optimize some String.Compare overloads, part 2 (dotnet/coreclr#6891)

* Change signature of CompareOrdinalEx and move arg validation to the call sites
* Change thrown param name from count -> length
* Rename nativeCompareOrdinalEx -> CompareOrdinalHelper

Commit migrated from https://github.com/dotnet/coreclr/commit/255cb7355da9cbfda84bdd09e388ef660eddffe3
src/coreclr/src/classlibnative/bcltype/stringnative.cpp
src/coreclr/src/classlibnative/bcltype/stringnative.h
src/coreclr/src/mscorlib/src/System/Globalization/CompareInfo.cs
src/coreclr/src/mscorlib/src/System/String.cs
src/coreclr/src/vm/ecalllist.h