Fix EncoderNLS / DecoderNLS regression in reporting error index (#25397)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Wed, 26 Jun 2019 22:05:53 +0000 (15:05 -0700)
committerwtgodbe <wigodbe@microsoft.com>
Wed, 26 Jun 2019 22:10:57 +0000 (15:10 -0700)
commit17112db9d9a4e3aa6c5280ce2059796e168de0f9
tree217a1292b9301384fbeff84081ba07659e5e6821
parentcf14314dc0512d8324c1f07815e0216603fc4eb2
Fix EncoderNLS / DecoderNLS regression in reporting error index (#25397)

Also fixes incorrect asserts in the Encoding type
src/System.Private.CoreLib/shared/System/Text/DecoderNLS.cs
src/System.Private.CoreLib/shared/System/Text/EncoderNLS.cs
src/System.Private.CoreLib/shared/System/Text/Encoding.Internal.cs