Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _Activator.cs
index 94c128c71700ed6fabaf9e2976ab1263b382698a..f6936f3075bf7de37a0238131d36847526c3fa5a 100644 (file)
 
 using System;
 
-#if NET_1_1
-
 namespace System.Runtime.InteropServices {
-#if NET_2_0
        [ComVisible (true)]
-#endif
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("03973551-57A1-3900-A2B5-9083E3FF2943")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (Activator))]
+#endif
        public interface _Activator {
 
                void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
@@ -51,5 +49,3 @@ namespace System.Runtime.InteropServices {
                        IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
        }
 }
-
-#endif