Add a shim __ComObject class to the mobile_static build
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 2 Mar 2016 13:30:05 +0000 (14:30 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 4 Mar 2016 15:46:27 +0000 (16:46 +0100)
commitec700aafb2e69593c60d4ef98770e351d1f26d9d
tree5e4281cdf37ff343b9327c753f94500f05f16759
parentbee9ca6aab88f76c3e719f7a52fa50a29eb941ca
Add a shim __ComObject class to the mobile_static build

We need this because when the runtime is built without --enable-minimal=com the runtime crashes
when trying to AOT because it tries to find the __ComObject (even though nothing in mobile_static
actually uses COM). With this shim we can AOT the mobile_static assemblies even with a "normal"
runtime.
mcs/class/corlib/System/__ComObject.cs