Remove unnecessary ref parameters from String.cs
authorJames Ko <jamesqko@gmail.com>
Sat, 20 Feb 2016 17:24:02 +0000 (12:24 -0500)
committerJames Ko <jamesqko@gmail.com>
Sat, 20 Feb 2016 17:24:02 +0000 (12:24 -0500)
commit69adca43642c66ee81dbdcc9f8cb24dd3b19b8dc
treebf3e33271857ea3763fae7db825fd90fbe7b94e9
parent2f59e107894d09d64dc34f04d1230e03ea0d4d6b
Remove unnecessary ref parameters from String.cs

For some reason, there seems to be some code in String.Split that takes ref parameters, even though they aren't actually assigned to.

This commit removes the `ref` annotations from the methods and their callers.

Commit migrated from https://github.com/dotnet/coreclr/commit/7ce28d1a2efd44eeeb6bc15d2dd11272e4759df6
src/coreclr/src/mscorlib/src/System/String.cs