Mobile should not have the COM types set.
[mono.git] / mcs / class / corlib / System.Reflection / AssemblyName.cs
index 1daa3d0e5e7b3137dc641e41a1e43711f629c8cc..8c95bbe9ec870987459acccc92048bf7bf47b7c8 100644 (file)
@@ -54,8 +54,11 @@ namespace System.Reflection {
        [Serializable]
        [ClassInterfaceAttribute (ClassInterfaceType.None)]
        [StructLayout (LayoutKind.Sequential)]
+#if MOBILE
+       public sealed class AssemblyName  : ICloneable, ISerializable, IDeserializationCallback {
+#else
        public sealed class AssemblyName  : ICloneable, ISerializable, IDeserializationCallback, _AssemblyName {
-
+#endif
 #pragma warning disable 169
                #region Synch with object-internals.h
                string name;
@@ -401,6 +404,7 @@ namespace System.Reflection {
                        return aname;
                }
 
+#if !MOBILE
                void _AssemblyName.GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
                {
                        throw new NotImplementedException ();
@@ -421,5 +425,7 @@ namespace System.Reflection {
                {
                        throw new NotImplementedException ();
                }
+#endif
+
        }
 }