Support the Encoding enumeration in the Encoding Providers (#37528)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Tue, 9 Jun 2020 02:21:01 +0000 (19:21 -0700)
committerGitHub <noreply@github.com>
Tue, 9 Jun 2020 02:21:01 +0000 (19:21 -0700)
commitefe9663636e977997f2a2c8be299d103d3954787
tree1ce6a6b5ba0b2bff2dc43953f7504b836a04b100
parented075a7ec4f1b5c8467c50fc5bf3b859636248ca
Support the Encoding enumeration in the Encoding Providers (#37528)

* Support the Encoding enumeration in the Encoding Providers

* Fix build

* Fix netstandard build

* Address the feedback

* More Feedback

* More Feedback
15 files changed:
src/libraries/System.Private.CoreLib/src/System/Text/Encoding.cs
src/libraries/System.Private.CoreLib/src/System/Text/EncodingInfo.cs
src/libraries/System.Private.CoreLib/src/System/Text/EncodingProvider.cs
src/libraries/System.Private.CoreLib/src/System/Text/EncodingTable.cs
src/libraries/System.Runtime/ref/System.Runtime.cs
src/libraries/System.Text.Encoding.CodePages/ref/System.Text.Encoding.CodePages.csproj
src/libraries/System.Text.Encoding.CodePages/ref/System.Text.Encoding.CodePages.netcoreapp.cs [new file with mode: 0644]
src/libraries/System.Text.Encoding.CodePages/src/System.Text.Encoding.CodePages.csproj
src/libraries/System.Text.Encoding.CodePages/src/System/Text/BaseCodePageEncoding.cs
src/libraries/System.Text.Encoding.CodePages/src/System/Text/BaseCodePageEncoding.netcoreapp.cs [new file with mode: 0644]
src/libraries/System.Text.Encoding.CodePages/src/System/Text/CodePagesEncodingProvider.netcoreapp.cs [new file with mode: 0644]
src/libraries/System.Text.Encoding.CodePages/src/System/Text/EncodingNLS.cs
src/libraries/System.Text.Encoding.CodePages/src/System/Text/EncodingTable.cs
src/libraries/System.Text.Encoding.CodePages/tests/EncodingCodePages.netcoreapp.cs [new file with mode: 0644]
src/libraries/System.Text.Encoding.CodePages/tests/System.Text.Encoding.CodePages.Tests.csproj