Remove corefx references to String.Copy and mark it obsolete (dotnet/corefx#36131)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Tue, 26 Mar 2019 01:05:53 +0000 (18:05 -0700)
committerStephen Toub <stoub@microsoft.com>
Tue, 26 Mar 2019 01:05:53 +0000 (21:05 -0400)
commit809174a49824ac8486033aa06137f3dad4859760
treee59bedb17f97f85a63c5837de374c6c27668bf4e
parentbb2bbe3c61d4e469f69e5daaad0facdcba93af85
Remove corefx references to String.Copy and mark it obsolete (dotnet/corefx#36131)

* Remove references to string.Copy.

* Obsolete String.Copy and mark EditorBrowsable.Never

* Suppress String.Copy obsolete warning from String unit tests

* PR feedback

Commit migrated from https://github.com/dotnet/corefx/commit/dd917a1ce1f812fbd6d3d2268c9ebc3728fd2dfb
src/libraries/Common/src/Interop/Interop.Odbc.cs
src/libraries/Common/tests/Tests/System/StringTests.cs
src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcDataReader.cs
src/libraries/System.Data.Odbc/src/System/Data/Odbc/OdbcStatementHandle.cs
src/libraries/System.DirectoryServices.Protocols/src/System/DirectoryServices/Protocols/ldap/LdapDirectoryIdentifier.cs
src/libraries/System.Net.HttpListener/src/System/Net/HttpListener.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Runtime/tests/System/StringComparerTests.cs