Merge pull request #1857 from slluis/fix-assembly-resolver
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIEnumConnectionPoints.cs
index f40441312ef12e984dd4a10be682fde46eb3d80f..bb669b78e0d47ed47cdcf9dcd2befe3b6f13b757 100644 (file)
@@ -4,9 +4,7 @@
 // Author:
 //   Andreas Nahr (ClassDevelopment@A-SoftTech.com)
 //
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
-using System;
-
+#if !FULL_AOT_RUNTIME
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [Obsolete]
-#endif
        [ComImport]
        [Guid ("b196b285-bab4-101a-b69c-00aa00341d07")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        public interface UCOMIEnumConnectionPoints
        {
-#if NET_2_0
                [PreserveSig]
-#endif
                int Next (int celt, [Out, MarshalAs (UnmanagedType.LPArray, SizeParamIndex = 0)] UCOMIConnectionPoint[] rgelt, out int pceltFetched);
-#if NET_2_0
                [PreserveSig]
-#endif
                int Skip (int celt);
-#if NET_2_0
                [PreserveSig]
-#endif
                int Reset ();
                void Clone (out UCOMIEnumConnectionPoints ppenum);
        }
 }
+#endif