String.SplitInternal: Remove unnecessary stackalloc (dotnet/coreclr#7623)
authorJustin Van Patten <jvp@justinvp.com>
Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)
committerJan Kotas <jkotas@microsoft.com>
Sat, 15 Oct 2016 09:58:59 +0000 (02:58 -0700)
commit20e6a225fcaf9d92fae2ff1850344a75f853dcd5
treec791404be2ffd5dd06313a73ff0001135fb3826b
parent8443b1412d96dec1cf3aeb677255ea515e05cf66
String.SplitInternal: Remove unnecessary stackalloc (dotnet/coreclr#7623)

Simply take the address of the `char` instead of stackallocating a
`char[1]`.

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