Add BoundedMemory tests for String ctor (dotnet/corefx#36162)
authorLevi Broderick <GrabYourPitchforks@users.noreply.github.com>
Tue, 19 Mar 2019 23:18:48 +0000 (16:18 -0700)
committerGitHub <noreply@github.com>
Tue, 19 Mar 2019 23:18:48 +0000 (16:18 -0700)
commit7b66909d3c34392dd53ba415debd3a8758f6cf4e
tree2b8071f72d02e70d4fde5d799e60bd19e945e6df
parent9a28f4d7257c4217d6ed9ee0dc4cb6e743ed1d90
Add BoundedMemory tests for String ctor (dotnet/corefx#36162)

Use the new BoundedMemory feature to put additional correctness checks around the pointer-based String ctors

Commit migrated from https://github.com/dotnet/corefx/commit/5cf8f3b1785b44fcf72492847f12fd894d0da74b
src/libraries/System.Runtime/tests/System/StringTests.netcoreapp.cs