SBCSCodePageEncoding: Don't call DecoderFallback.CreateFallbackBuffer until needed...
authorslozier <slozier@users.noreply.github.com>
Mon, 4 Mar 2019 18:55:12 +0000 (13:55 -0500)
committerTarek Mahmoud Sayed <tarekms@microsoft.com>
Mon, 4 Mar 2019 18:55:12 +0000 (10:55 -0800)
commit7581341da36abec157341b48e9fb9e552150d41b
tree0d2f8fa08286700284d7c3c9e6b3af9ada8ef6f7
parent85eb3a1397902672011033330d0866cc305ad6ed
SBCSCodePageEncoding: Don't call DecoderFallback.CreateFallbackBuffer until needed (dotnet/corefx#35199)

* Don't call DecoderFallback.CreateFallbackBuffer until needed

* Use null instead of fallbackBuffer

Commit migrated from https://github.com/dotnet/corefx/commit/5419ecd858d11f08938019ba49477039de93ec3f
src/libraries/System.Text.Encoding.CodePages/src/System/Text/SBCSCodePageEncoding.cs