Add tests for AsAny Marshalling (#20963)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Tue, 13 Nov 2018 22:13:57 +0000 (14:13 -0800)
committerGitHub <noreply@github.com>
Tue, 13 Nov 2018 22:13:57 +0000 (14:13 -0800)
commit56a2ffdc9413eb01c678eb215543bb2432f36fa4
tree0995c6ad87ad1ac58f3edc43833707865cc620a3
parent89262cf66efe776a17c322efcbe896cc3073b446
Add tests for AsAny Marshalling (#20963)

* Copy over tests from .NET Framework.

* Convert tests to use CoreCLRTestLibrary. Clean up tests that weren't self-consistent.

* Pass in context for non best-fit-mapping tests.

* Move around/group declarations.

* Clean up typedef names/usage.

* Fix signedness.

* Use ptrdiff_t and size_t instead of C99 types.

* Fix printf specifiers

* Remove unneeded now duplicate typedef
tests/src/Interop/CMakeLists.txt
tests/src/Interop/PInvoke/AsAny/AsAnyNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/AsAny/AsAnyTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/AsAny/AsAnyTest.csproj [new file with mode: 0644]
tests/src/Interop/PInvoke/AsAny/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h
tests/src/Interop/common/types.h