Remove several unnecessary arrays used with Split (#36304)
authorStephen Toub <stoub@microsoft.com>
Wed, 13 May 2020 03:35:53 +0000 (23:35 -0400)
committerGitHub <noreply@github.com>
Wed, 13 May 2020 03:35:53 +0000 (20:35 -0700)
commitc3d7041480a8f64f693de9c5e7c0aa13843d74bb
tree057c72ae78fe155f0bbb14545ec67cb89223ecc5
parent8a72700b6784e582170ff01076b9e1190295dcd0
Remove several unnecessary arrays used with Split (#36304)

Now that we have a Split overload that takes a single char, the previous optimization to cache an array and reuse that array with the array-based overload isn't needed.
src/libraries/Common/src/System/Net/Mail/MailBnfHelper.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/Design/DesignerOptionService.cs
src/libraries/System.ComponentModel.TypeConverter/src/System/ComponentModel/EnumConverter.cs
src/libraries/System.Data.Common/src/System/Data/XDRSchema.cs
src/libraries/System.Diagnostics.FileVersionInfo/src/System/Diagnostics/FileVersionInfo.Unix.cs
src/libraries/System.Drawing.Common/src/System/Drawing/Printing/PrintingServices.Unix.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/CryptoConfig.cs