Fix WinRT marshalling for NotifyPropertyChangedEventArgs and NotifyCollectionChangedE...
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>
Sat, 23 Mar 2019 00:09:21 +0000 (17:09 -0700)
committerGitHub <noreply@github.com>
Sat, 23 Mar 2019 00:09:21 +0000 (17:09 -0700)
commitacd1164c8c89582f13163e309a0183c72bc13924
tree831ab704ef87ed1a5b9e1a32be0c4df24b7af736
parent017ded3c6acd653b875f4ef12c232617855dea09
Fix WinRT marshalling for NotifyPropertyChangedEventArgs and NotifyCollectionChangedEventArgs (CoreCLR side) (#23401)

* Enable marshalling IntPtr and UIntPtr in WinRT scenarios to support our marshalling infrastructure.

* Enable getting an RCW for a native COM object while ignoring WinRT projections.

* Rename to Marshal.GetUniqueObjectForIUnknownWithoutUnboxing

* Clean up contract.

* Move GetUniqueObjectForIUnknownWithoutUnboxing to WindowsRuntimeMarshal.

* Move WinRT-specific FCalls to WindowsRuntimeMarshal.
src/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.CoreCLR.cs
src/System.Private.CoreLib/src/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshal.cs
src/vm/dllimport.cpp
src/vm/ecalllist.h
src/vm/marshalnative.cpp
src/vm/marshalnative.h
src/vm/mlinfo.cpp
src/vm/mscorlib.h