Replace custom AnsiToLower with more efficient ToLowerAsciiInvariant (dotnet/coreclr...
authorStephen Toub <stoub@microsoft.com>
Tue, 20 Nov 2018 19:58:47 +0000 (14:58 -0500)
committerGitHub <noreply@github.com>
Tue, 20 Nov 2018 19:58:47 +0000 (14:58 -0500)
commit8c8184d4f0787d532c0d4e6a1a65d75c44189ded
tree3e3a814cfc87a4fc2bebe825670fe03509e1cfab
parent86960d304791dc7b16b6d2b571b2a73543bb86f4
Replace custom AnsiToLower with more efficient ToLowerAsciiInvariant (dotnet/coreclr#21121)

Avoids all of the StringBuilder-related costs.

Commit migrated from https://github.com/dotnet/coreclr/commit/e5ff28022e99b391ca75867c1a378beee0e594f2
src/libraries/System.Private.CoreLib/src/System/Globalization/CultureData.cs
src/libraries/System.Private.CoreLib/src/System/Globalization/TextInfo.cs