Fix warnings in mscorlib's Test suite + bring a couple more tests + fix thread rename...
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / UCOMIConnectionPoint.cs
index db68af10332733e53a684a3a04c7e94f36f843e6..cd0e84f3fc81d116272581d4771f4e5d0532543b 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
 {
+       [Obsolete]
+       [ComImport]
        [Guid ("b196b286-bab4-101a-b69c-00aa00341d07")]
        [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
        public interface UCOMIConnectionPoint
        {
-               void Advise ([MarshalAs(UnmanagedType.Interface)] object pUnkSink, out int pdwCookie);
-               void EnumConnections (out UCOMIEnumConnections ppEnum);
                void GetConnectionInterface (out Guid pIID);
                void GetConnectionPointContainer (out UCOMIConnectionPointContainer ppCPC);
+               void Advise ([MarshalAs(UnmanagedType.Interface)] object pUnkSink, out int pdwCookie);
                void Unadvise (int dwCookie);
+               void EnumConnections (out UCOMIEnumConnections ppEnum);
        }
 }
+#endif