Avoid unnecessary allocations in Exception.ToString
authorStephen Toub <stoub@microsoft.com>
Sat, 26 Oct 2019 00:57:13 +0000 (20:57 -0400)
committerStephen Toub <stoub@microsoft.com>
Sat, 26 Oct 2019 10:47:52 +0000 (06:47 -0400)
commitd65f92b26844d54f777a0934f382e5c6ed560461
tree49e75f0a6fca0be288cc2ff7f6f695d472ec169c
parentebb868605b2712284fab4ced5a3b4a2b4a7eff41
Avoid unnecessary allocations in Exception.ToString

Commit migrated from https://github.com/dotnet/coreclr/commit/373a7b2ea2b6067a6a12775dd54a9e20dd0190d1
src/libraries/System.Private.CoreLib/src/System/Exception.cs