Add test coverage for unsupported marshal scenarios (dotnet/coreclr#27393)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Thu, 24 Oct 2019 19:33:34 +0000 (21:33 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2019 19:33:34 +0000 (21:33 +0200)
commit3ffd57e3dd5aeb395f4931de6d0eb4f6fb736112
treee522963fb04a942e17fa29bc65a3df2228cfa093
parent062930069bcbaa76861dec56fbba8e62576363f0
Add test coverage for unsupported marshal scenarios (dotnet/coreclr#27393)

* Pointers to non-blittable structs are not supported
* SizeParamIndex could be bogus

Commit migrated from https://github.com/dotnet/coreclr/commit/f1a900df6554a682b2816b64958f80055407e955
src/coreclr/tests/src/Interop/PInvoke/Primitives/Pointer/PInvokePointerTest.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/Primitives/Pointer/PInvokePointerTest.csproj [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/Invalid/InvalidParamIndex.cs [new file with mode: 0644]
src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/Invalid/InvalidParamIndex.csproj [new file with mode: 0644]