Add test for marshalling ArgIterators on Windows (#20888)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Wed, 14 Nov 2018 23:18:23 +0000 (15:18 -0800)
committerGitHub <noreply@github.com>
Wed, 14 Nov 2018 23:18:23 +0000 (15:18 -0800)
commit30c530c65bb54a2c7e5697d115454136c35ee418
treed0a2b020516570296bef379050ff5fc0d5a30be5
parent801d2f49f7f56e42db17b775db429ae490e719c7
Add test for marshalling ArgIterators on Windows (#20888)

* Add (windows-only) tests for __arglist and ArgIterator marshalling.

* Add explicit calling convention notation to pinvokes.

* Add license header

* Update VarargsTest.cs

* Fix calling conventions.

* PR Feedback

* Add explicit calling convention.

* Update VarargsNative.cpp

* Don't reference System.Private.Corelib directly
tests/src/Interop/CMakeLists.txt
tests/src/Interop/PInvoke/Varargs/CMakeLists.txt [new file with mode: 0644]
tests/src/Interop/PInvoke/Varargs/VarargsNative.cpp [new file with mode: 0644]
tests/src/Interop/PInvoke/Varargs/VarargsTest.cs [new file with mode: 0644]
tests/src/Interop/PInvoke/Varargs/VarargsTest.csproj [new file with mode: 0644]