Don't null out buffer in MemoryStream on Capacity reset (dotnet/coreclr#23700)
authorStephen Toub <stoub@microsoft.com>
Thu, 4 Apr 2019 13:23:40 +0000 (09:23 -0400)
committerGitHub <noreply@github.com>
Thu, 4 Apr 2019 13:23:40 +0000 (09:23 -0400)
commitd7a0e6d832af454f47df7298e9de8e00740256e4
tree9c64d8c22729d927a8ad983429ad19bd433ac0cf
parente9e032be6a8654647cc8209fe860340ae5318e21
Don't null out buffer in MemoryStream on Capacity reset (dotnet/coreclr#23700)

Commit migrated from https://github.com/dotnet/coreclr/commit/65da96af6c08c182f05df388c8d4872311b2f088
src/libraries/System.Private.CoreLib/src/System/IO/MemoryStream.cs