Merge pull request #2763 from esdrubal/mono-symbolicate-standalone2
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / TypeLibConverter.cs
index 74eb3faed10ee8796dbf6b77957fb07018197478..9cd6736cf8dbc6071dfd9ec28b2974812cdfb268 100644 (file)
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 //
 
+#if !FULL_AOT_RUNTIME
 using System;
 using System.Reflection;
 using System.Reflection.Emit;
 
 namespace System.Runtime.InteropServices
 {
-#if NET_2_0
        [ComVisible(true)]
-#endif
        [Guid ("f1c3bf79-c3e4-11d3-88e7-00902754c43a")]
        [ClassInterface (ClassInterfaceType.None)]
        public sealed class TypeLibConverter : ITypeLibConverter
@@ -46,6 +45,7 @@ namespace System.Runtime.InteropServices
                }
 
                [MonoTODO ("implement")]
+               [return: MarshalAs (UnmanagedType.Interface)]
                public object ConvertAssemblyToTypeLib (Assembly assembly, string strTypeLibName, TypeLibExporterFlags flags, ITypeLibExporterNotifySink notifySink)
                {
                        throw new NotImplementedException ();
@@ -70,3 +70,4 @@ namespace System.Runtime.InteropServices
                }       
        }
 }
+#endif