Merge pull request #1520 from madrang/SafeHandleFix
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / EXCEPINFO.cs
index 42d0163ca697e17dd283b70e7344e16d640f7316..0e61c36b7fd57029c7db92ec042e5a68b6a15426 100644 (file)
 
 using System;
 
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
-       [ComVisible(false)]
        [StructLayout (LayoutKind.Sequential, CharSet = CharSet.Unicode)]
        public struct EXCEPINFO {
                public short wCode;
@@ -52,3 +50,4 @@ namespace System.Runtime.InteropServices
        }
 }
 
+#endif