Fix OOM exception thrown in case insensitive replace for an empty string (dotnet...
authorHugh Bellamy <hughbellars@gmail.com>
Sun, 16 Apr 2017 18:36:47 +0000 (01:36 +0700)
committerJan Kotas <jkotas@microsoft.com>
Sun, 16 Apr 2017 18:36:47 +0000 (11:36 -0700)
commit015ced7c92c5a04b451413ebf7a814830e87edf9
treed018cf3aee7ade1dd01b76b300f231e17e3d00c1
parent366d849831d3b2e2ab6839b50cca2191ac2a187d
Fix OOM exception thrown in case insensitive replace for an empty string (dotnet/coreclr#11001)

Commit migrated from https://github.com/dotnet/coreclr/commit/08c80c57b08647be4b3d050549f48bbe265ad90e
src/coreclr/src/mscorlib/src/System/String.Manipulation.cs