Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / TypeLibTypeAttribute.cs
index 296ddfce82251817f7bcebb127efcc8549084159..9a8a6a85936212ebf1908eaf7bb281644fc5b6f0 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System;
 
 namespace System.Runtime.InteropServices {
 
-#if NET_2_0
        [ComVisible(true)]
-#endif
        [AttributeUsage (AttributeTargets.Class | AttributeTargets.Struct |
                         AttributeTargets.Enum | AttributeTargets.Interface, Inherited=false)]
        public sealed class TypeLibTypeAttribute : Attribute
@@ -57,3 +56,4 @@ namespace System.Runtime.InteropServices {
                }
        }
 }
+#endif