2 using System
.Runtime
.InteropServices
;
4 [ComImport
, GuidAttribute("E5CB7A31-7512-11D2-89CE-0080C792E5D8")]
5 public class CorMetaDataDispenserExClass { }
7 [ComImport
, GuidAttribute("31BCFCE2-DAFB-11D2-9F81-00C04F79A0A3"),
8 CoClass(typeof(CorMetaDataDispenserExClass
))]
9 public interface IMetaDataDispenserEx { }
14 public static void XXX ()
16 IMetaDataDispenserEx o
= new IMetaDataDispenserEx();
19 public static void Main()
21 /* It doesn't work on Mono runtime
22 IMetaDataDispenserEx o = new IMetaDataDispenserEx();
23 if (o.GetType () != typeof (CorMetaDataDispenserExClass))
25 Console.WriteLine ("OK");