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)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2019 22:05:53 +0000 (15:05 -0700)
commitbaf85a5bee088258f7ad0c8ec1dd5af2e35bdff5
treed5d4a86cdc6afaf4716eaa04f53a6f0e27439acb
parent7cb9a9b96990ada2d771b525f3e4843bd07e1976
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