X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2Fcorlib%2FSystem.Runtime.InteropServices%2F_Type.cs;h=1565230a30d9159823227bac74ee6bec7e56d667;hb=8bb9b4409d3f73fdf5ec2afc3b9add6bd33f712f;hp=c98a15f899447fbdde718feadd2f23398bdf4d69;hpb=1d19fc94c559d48cbc2090dce4c57d9a3169f3c6;p=mono.git diff --git a/mcs/class/corlib/System.Runtime.InteropServices/_Type.cs b/mcs/class/corlib/System.Runtime.InteropServices/_Type.cs index c98a15f8994..1565230a30d 100644 --- a/mcs/class/corlib/System.Runtime.InteropServices/_Type.cs +++ b/mcs/class/corlib/System.Runtime.InteropServices/_Type.cs @@ -5,8 +5,6 @@ // Kazuki Oikawa (kazuki@panicode.com) // -#if NET_1_1 - using System; using System.Globalization; using System.Reflection; @@ -14,11 +12,15 @@ using System.Reflection; namespace System.Runtime.InteropServices { [CLSCompliant (false)] - [InterfaceType (ComInterfaceType.InterfaceIsDual)] + [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)] [Guid ("BCA8B44D-AAD6-3A86-8AB7-03349F4F2DA2")] +#if !FULL_AOT_RUNTIME + [TypeLibImportClass (typeof (Type))] +#endif + [ComVisible (true)] public interface _Type { - bool Equals (object o); + bool Equals (object other); bool Equals (Type o); @@ -64,6 +66,15 @@ namespace System.Runtime.InteropServices int GetHashCode (); + void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId); + + void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo); + + void GetTypeInfoCount (out uint pcTInfo); + + void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, + IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr); + Type GetInterface (string name); Type GetInterface (string name, bool ignoreCase); @@ -235,4 +246,3 @@ namespace System.Runtime.InteropServices Type UnderlyingSystemType {get;} } } -#endif