Opt COM methods out of the new Windows instance-method handling. (#23974)
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Mon, 15 Apr 2019 22:54:51 +0000 (15:54 -0700)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2019 22:54:51 +0000 (15:54 -0700)
commit9f9dcdd2780ac4716c757e0c78d7324f8e382891
treec4c9453a0ec46b96428c4fa2c91f454406a42a31
parent77a5f9cef77c34db739bb3c13bfd091c693a12d4
Opt COM methods out of the new Windows instance-method handling. (#23974)

* Opt COM methods out of the new Windows instance-method handling.

* Add test for an HResult "struct" returned from a COM method.

* Update ErrorMarshalTesting.cs

* Update "is member function" check on the ilmarshalers.h side to only consider thiscall.
12 files changed:
src/vm/dllimport.cpp
src/vm/ilmarshalers.h
tests/src/Interop/COM/NETClients/Primitives/ErrorTests.cs
tests/src/Interop/COM/NETClients/Primitives/NumericTests.cs
tests/src/Interop/COM/NETServer/ErrorMarshalTesting.cs
tests/src/Interop/COM/NETServer/NumericTesting.cs
tests/src/Interop/COM/NativeClients/Primitives/ErrorTests.cpp
tests/src/Interop/COM/NativeClients/Primitives/NumericTests.cpp
tests/src/Interop/COM/NativeServer/ErrorMarshalTesting.h
tests/src/Interop/COM/NativeServer/NumericTesting.h
tests/src/Interop/COM/ServerContracts/Server.Contracts.cs
tests/src/Interop/COM/ServerContracts/Server.Contracts.h