Check we don't marshal out parameters in SizeParamIndex test (dotnet/coreclr#27439)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 7 Nov 2019 21:54:49 +0000 (22:54 +0100)
committerAaron Robinson <arobins@microsoft.com>
Thu, 7 Nov 2019 21:54:49 +0000 (16:54 -0500)
commit71a11e3c93afaabfd46561d048beedc98e6e265a
tree9bf9769d5f2422c3f97b5550687c53711de7d13d
parent9b296eea53b53a2f67bd626322cc61468e9ad41b
Check we don't marshal out parameters in SizeParamIndex test (dotnet/coreclr#27439)

* Check we don't marshal out parameters in SizeParamIndex test

The test passes both uninitialized (null) and initialized values to native.

We can add a check to ensure the initialized value doesn't get marshalled to native.

Commit migrated from https://github.com/dotnet/coreclr/commit/3ef9c7b2503a84d12edbb7e8c58b8e395632e98d
src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/helper.h