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