Merge pull request #498 from Unroll-Me/master
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIBindCtx.cs
index ff42f2983d0419b7ea7a798d237fe2afc3c22d6d..da18ded9121c735b0bd737d46469cce00fd7d4ec 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
        [ComImport]
        [Guid ("0000000e-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
@@ -48,3 +47,4 @@ namespace System.Runtime.InteropServices
                void RevokeObjectParam ([MarshalAs(UnmanagedType.LPWStr)] string pszKey);
        }
 }
+#endif