Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ImportedFromTypeLibAttribute.cs
index f2cff635c43f8beb65b46e303886473563b145ec..2a26c7839592e83bf36a86f46b70da5e8fa2fca3 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.Assembly, Inherited=false)]
        public sealed class ImportedFromTypeLibAttribute : Attribute
        {
@@ -50,3 +49,4 @@ namespace System.Runtime.InteropServices {
                }
        } 
 }
+#endif