Opt COM methods out of the new Windows instance-method handling. (dotnet/coreclr...
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)
commit28e8091997b76886cfcc52409f3f0fb14f16171f
tree60609f8128db0c5ebc9f5c824e4e61862bec51e1
parent0f9a001667eb53de9af636d594ec166625790e36
Opt COM methods out of the new Windows instance-method handling. (dotnet/coreclr#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.

Commit migrated from https://github.com/dotnet/coreclr/commit/9f9dcdd2780ac4716c757e0c78d7324f8e382891
12 files changed:
src/coreclr/src/vm/dllimport.cpp
src/coreclr/src/vm/ilmarshalers.h
src/coreclr/tests/src/Interop/COM/NETClients/Primitives/ErrorTests.cs
src/coreclr/tests/src/Interop/COM/NETClients/Primitives/NumericTests.cs
src/coreclr/tests/src/Interop/COM/NETServer/ErrorMarshalTesting.cs
src/coreclr/tests/src/Interop/COM/NETServer/NumericTesting.cs
src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/ErrorTests.cpp
src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/NumericTests.cpp
src/coreclr/tests/src/Interop/COM/NativeServer/ErrorMarshalTesting.h
src/coreclr/tests/src/Interop/COM/NativeServer/NumericTesting.h
src/coreclr/tests/src/Interop/COM/ServerContracts/Server.Contracts.cs
src/coreclr/tests/src/Interop/COM/ServerContracts/Server.Contracts.h