Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _Type.cs
index 124334aa32ea13a6345c89b5a6e2e0de498ae1ee..1565230a30d9159823227bac74ee6bec7e56d667 100644 (file)
@@ -5,8 +5,6 @@
 //   Kazuki Oikawa  (kazuki@panicode.com)
 //
 
-#if NET_1_1
-
 using System;
 using System.Globalization;
 using System.Reflection;
@@ -16,10 +14,10 @@ namespace System.Runtime.InteropServices
        [CLSCompliant (false)]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        [Guid ("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")]
+#if !FULL_AOT_RUNTIME
        [TypeLibImportClass (typeof (Type))]
-#if NET_2_0
-       [ComVisible (true)]
 #endif
+       [ComVisible (true)]
        public interface _Type
        {
                bool Equals (object other);
@@ -248,4 +246,3 @@ namespace System.Runtime.InteropServices
                Type UnderlyingSystemType {get;}
        }
 }
-#endif