[corlib] Parse datetime string using culture calendar. Fixes #18052
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIPersistFile.cs
index 164ef1dc12922c9202b132b8b5ad75afe924289f..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]
        [ComImport]
-#endif
        [Guid ("0000010b-0000-0000-c000-000000000046")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        public interface UCOMIPersistFile
        {
                void GetClassID (out Guid pClassID);
-#if NET_2_0
                [PreserveSig]
-#endif
                int IsDirty ();
                void Load ([MarshalAs(UnmanagedType.LPWStr)] string pszFileName, int dwMode);
                void Save ([MarshalAs (UnmanagedType.LPWStr)] string pszFileName, [MarshalAs (UnmanagedType.Bool)] bool fRemember);
@@ -49,3 +46,4 @@ namespace System.Runtime.InteropServices
                void GetCurFile ([MarshalAs(UnmanagedType.LPWStr)] out string ppszFileName);
        }
 }
+#endif