Add test for StringBuilder null terminator implementation detail (#21800)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Fri, 4 Jan 2019 05:35:53 +0000 (21:35 -0800)
committerGitHub <noreply@github.com>
Fri, 4 Jan 2019 05:35:53 +0000 (21:35 -0800)
commit08019ac94eb8cd57abad4d03c803371290cfe210
treeb396187fee729645804f0eafc220eef54bce26e1
parent9f446067444fb0218b4504e2ab6921fd7492d4a2
Add test for StringBuilder null terminator implementation detail (#21800)

* Remove some commented out code.

* Add test verifying that we put a null terminator 2-past the end of the native buffer allocated for a StringBuilder.
src/vm/ilmarshalers.cpp
tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTest.cs
tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestNative.cpp
tests/src/Interop/StringMarshalling/LPTSTR/LPTSTRTestPInvokeDef.cs