Encoding code clean up (#12864)
authorTarek Mahmoud Sayed <tarekms@microsoft.com>
Tue, 18 Jul 2017 20:51:57 +0000 (13:51 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2017 20:51:57 +0000 (13:51 -0700)
commitc059ec9cbbedd8a25a785a2c4d1a0515732134d6
tree620e6c449a1d30fa4a93e79bb1f9863efb6a33f2
parent8031c23dd16815353b8510713dc413785408521d
Encoding code clean up (#12864)

* Encoding code clean up

This change to clean all the serialization code from the encoding and move the files to the shared folder

* delete DecoderNLS

* re-add DecoderNls with the right casing

* remove bIsMicrosoftBestFitFallback

* Misc fixes per review comments
21 files changed:
src/mscorlib/System.Private.CoreLib.csproj
src/mscorlib/shared/System.Private.CoreLib.Shared.projitems
src/mscorlib/shared/System/Text/ASCIIEncoding.cs
src/mscorlib/shared/System/Text/Decoder.cs
src/mscorlib/shared/System/Text/DecoderBestFitFallback.cs [moved from src/mscorlib/src/System/Text/DecoderBestFitFallback.cs with 76% similarity]
src/mscorlib/shared/System/Text/DecoderExceptionFallback.cs [moved from src/mscorlib/src/System/Text/DecoderExceptionFallback.cs with 83% similarity]
src/mscorlib/shared/System/Text/DecoderFallback.cs [moved from src/mscorlib/src/System/Text/DecoderFallback.cs with 73% similarity]
src/mscorlib/shared/System/Text/DecoderNLS.cs [moved from src/mscorlib/src/System/Text/DecoderNLS.cs with 85% similarity]
src/mscorlib/shared/System/Text/DecoderReplacementFallback.cs [moved from src/mscorlib/src/System/Text/DecoderReplacementFallback.cs with 81% similarity]
src/mscorlib/shared/System/Text/Encoder.cs
src/mscorlib/shared/System/Text/EncoderBestFitFallback.cs [moved from src/mscorlib/src/System/Text/EncoderBestFitFallback.cs with 73% similarity]
src/mscorlib/shared/System/Text/EncoderExceptionFallback.cs [moved from src/mscorlib/src/System/Text/EncoderExceptionFallback.cs with 90% similarity]
src/mscorlib/shared/System/Text/EncoderFallback.cs [moved from src/mscorlib/src/System/Text/EncoderFallback.cs with 76% similarity]
src/mscorlib/shared/System/Text/EncoderNLS.cs [moved from src/mscorlib/src/System/Text/EncoderNLS.cs with 83% similarity]
src/mscorlib/shared/System/Text/EncoderReplacementFallback.cs [moved from src/mscorlib/src/System/Text/EncoderReplacementFallback.cs with 80% similarity]
src/mscorlib/shared/System/Text/Encoding.cs
src/mscorlib/shared/System/Text/Latin1Encoding.cs
src/mscorlib/shared/System/Text/UTF32Encoding.cs
src/mscorlib/shared/System/Text/UTF7Encoding.cs
src/mscorlib/shared/System/Text/UTF8Encoding.cs
src/mscorlib/shared/System/Text/UnicodeEncoding.cs