Fix DecoderExceptionFallbackBuffer message (dotnet/coreclr#26211)
authorStephen Toub <stoub@microsoft.com>
Sun, 18 Aug 2019 00:52:27 +0000 (20:52 -0400)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Sun, 18 Aug 2019 00:52:27 +0000 (17:52 -0700)
commitdacac76deaf84afeac69764a4c0c038762f70212
tree7d777f28be32c5ff80ab423d4a20d0f33cc78a14
parent9c4da3fb8c9e55e3839c61fbeaba02ea3b37b81b
Fix DecoderExceptionFallbackBuffer message (dotnet/coreclr#26211)

When the number of unknown bytes is exactly 20, the message includes a misleading " ..." at the end.

Commit migrated from https://github.com/dotnet/coreclr/commit/b291538ed18d906fc4be39bc385068633eccbbfe
src/libraries/System.Private.CoreLib/src/System/Text/DecoderExceptionFallback.cs