[corlib] Updates api
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIPersistFile.cs
index 28f5075bc8f69513e0e8fb106c2e4366933b276c..16516d7bb7f9b6368e0a412f27e241bff44f295f 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 ("0000010b-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
@@ -47,3 +46,4 @@ namespace System.Runtime.InteropServices
                void GetCurFile ([MarshalAs(UnmanagedType.LPWStr)] out string ppszFileName);
        }
 }
+#endif