// Kazuki Oikawa (kazuki@panicode.com)
//
-#if NET_1_1
-
using System;
using System.Globalization;
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);
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);
Type UnderlyingSystemType {get;}
}
}
-#endif