Moved TestConfiguration.cs to Npgsql.
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / ITypeLibConverter.cs
index 99558526f2be7b67b47170a0857abc450a0e0932..4ad7939369cd1d69ad3f0911d11b45bc55a3232e 100644 (file)
@@ -35,9 +35,13 @@ using System.Reflection.Emit;
 
 namespace System.Runtime.InteropServices {
 
+#if NET_2_0
+       [ComVisible (true)]
+#endif
        [Guid("F1C3BF78-C3E4-11D3-88E7-00902754C43A")]
        [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
        public interface ITypeLibConverter {
+               [return: MarshalAs(UnmanagedType.Interface)]
                object ConvertAssemblyToTypeLib (Assembly assembly, string typeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink);
                AssemblyBuilder ConvertTypeLibToAssembly ([MarshalAs(UnmanagedType.Interface)] object typeLib, string asmFileName, int flags, ITypeLibImporterNotifySink notifySink, byte[] publicKey, StrongNameKeyPair keyPair, bool unsafeInterfaces);
                AssemblyBuilder ConvertTypeLibToAssembly ([MarshalAs(UnmanagedType.Interface)] object typeLib, string asmFileName, TypeLibImporterFlags flags, ITypeLibImporterNotifySink notifySink, byte[] publicKey, StrongNameKeyPair keyPair, string asmNamespace, Version asmVersion);