Changes in class libraries to enable Windows Runtime event support using Mono's mscor...
authorTautvydasZilys <suniusx@gmail.cOM>
Fri, 21 Oct 2016 11:04:49 +0000 (14:04 +0300)
committerMarek Safar <marek.safar@gmail.com>
Fri, 21 Oct 2016 11:04:49 +0000 (13:04 +0200)
commit6d7e40dd90965239d1f2bb467498ec3f230e70f9
treeab785ad92c5c8bc785b6e99619354507ddc3cb8f
parent634ab6141520d0c670f9df9cb7d7c05735af9fbf
Changes in class libraries to enable Windows Runtime event support using Mono's mscorlib (#3778)

* Use Windows Runtime event related classes from Reference Source and implement couple missing methods needed for Windows Runtime event suppor

* Add native stubs for newly added icalls.

* Attempt to fix build on non-windows

* Attempt to fix mscorlib build when COM is disabled.

* Revert "Attempt to fix mscorlib build when COM is disabled."

This reverts commit 5befc13b5ee7283fc4f19bd706389496c139790f.

* System.Type::IsWindowsRuntimeObjectProperty is under "FEATURE_COMINTEROP || MONO_COM", so its callers should be under it too.

* Fix build failure due to a semantic merge conflict with b313769878e1d96c2b50fb1c96be229282d74a30
17 files changed:
mcs/class/corlib/System.Runtime.CompilerServices/ConditionalWeakTable.cs
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/DefaultInterfaceAttribute.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/EventRegistrationToken.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/EventRegistrationTokenTable.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/IActivationFactory.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/InterfaceImplementedInVersionAttribute.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/ReadOnlyArrayAttribute.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/ReturnValueNameAttribute.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/UnsafeNativeMethods.cs [new file with mode: 0644]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/WindowsRuntimeMarshal.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices.WindowsRuntime/WriteOnlyArrayAttribute.cs [deleted file]
mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs
mcs/class/corlib/System/Environment.cs
mcs/class/corlib/corlib.dll.sources
mcs/class/referencesource/mscorlib/system/runtime/interopservices/windowsruntime/windowsruntimemarshal.cs
mono/metadata/icall-def.h
mono/metadata/icall.c