Merge pull request #2698 from esdrubal/iosxmlarray
[mono.git] / mcs / class / corlib / System / __ComObject.cs
index 18f0c43ec49761d5097b6a32b97c2910c4031816..a772d0fef9791888bd00475df9459c80dc2cc4d6 100644 (file)
@@ -230,4 +230,16 @@ namespace System
                        out IntPtr pUnk);
        }
 }
+#else
+namespace System
+{
+       // this is a shim class so we can AOT during mobile_static build without --enable-minimal=com
+       internal class __ComObject
+       {
+               __ComObject ()
+               {
+                       throw new NotSupportedException ();
+               }
+       }
+}
 #endif