Disable marshalling delegates as _Delegate and enable marshalling delegates as IDispa...
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Fri, 5 Apr 2019 05:56:56 +0000 (22:56 -0700)
committerGitHub <noreply@github.com>
Fri, 5 Apr 2019 05:56:56 +0000 (22:56 -0700)
commit8241971dc93dca98992596a9396dee1a2031ea15
treeac75247a13082544183134f946ecd185d00a4dd2
parent3a058450784d6ceb2ca8fd4b7b1ca8d3d6d4e8a9
Disable marshalling delegates as _Delegate and enable marshalling delegates as IDispatch. (#23738)

* Disable marshalling delegates as _Delegate and enable marshalling delegates as IDispatch.

* ifdef out the new IDispatch marshalling on non-COM-supporting platforms.

* PR feedback.
src/dlls/mscorrc/mscorrc.rc
src/dlls/mscorrc/resource.h
src/vm/fieldmarshaler.cpp
src/vm/mlinfo.cpp
tests/src/Interop/PInvoke/Delegate/MarshalDelegateAsField/AsFieldNative.cpp
tests/src/Interop/PInvoke/Delegate/MarshalDelegateAsField/RefLib/RefLib.cs
tests/src/Interop/PInvoke/Delegate/MarshalDelegateAsParam/AsInterface/AsInterfaceTest.cs
tests/src/Interop/PInvoke/Delegate/MarshalDelegateAsParam/AsParamNative.cpp