2010-05-27 Jb Evain <jbevain@novell.com>
[mcs.git] / class / corlib / System.Runtime.InteropServices / _ConstructorInfo.cs
blob5515f46b9c0cd156e4d321bb9ca2430dafc910cf
1 //
2 // System.Runtime.InteropServices._ConstructorInfo interface
3 //
4 // Author:
5 // Kazuki Oikawa (kazuki@panicode.com)
6 //
8 #if NET_1_1
10 using System;
11 using System.Globalization;
12 using System.Reflection;
14 namespace System.Runtime.InteropServices
16 [CLSCompliant (false)]
17 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
18 [Guid ("E9A19478-9646-3679-9B10-8411AE1FD57D")]
19 [TypeLibImportClass (typeof (ConstructorInfo))]
20 [ComVisible (true)]
21 public interface _ConstructorInfo
23 bool Equals (object other);
25 object[] GetCustomAttributes (bool inherit);
27 object[] GetCustomAttributes (Type attributeType, bool inherit);
29 int GetHashCode ();
31 MethodImplAttributes GetMethodImplementationFlags ();
33 ParameterInfo[] GetParameters ();
35 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
37 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
39 void GetTypeInfoCount (out uint pcTInfo);
41 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
42 IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
44 Type GetType ();
46 object Invoke_5 (object[] parameters);
48 object Invoke_3 (object obj, object[] parameters);
50 object Invoke_4 (BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
52 object Invoke_2 (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
54 bool IsDefined (Type attributeType, bool inherit);
56 string ToString ();
58 MethodAttributes Attributes {get;}
60 CallingConventions CallingConvention {get;}
62 Type DeclaringType {get;}
64 bool IsAbstract {get;}
66 bool IsAssembly {get;}
68 bool IsConstructor {get;}
70 bool IsFamily {get;}
72 bool IsFamilyAndAssembly {get;}
74 bool IsFamilyOrAssembly {get;}
76 bool IsFinal {get;}
78 bool IsHideBySig {get;}
80 bool IsPrivate {get;}
82 bool IsPublic {get;}
84 bool IsSpecialName {get;}
86 bool IsStatic {get;}
88 bool IsVirtual {get;}
90 MemberTypes MemberType {get;}
92 RuntimeMethodHandle MethodHandle {get;}
94 string Name {get;}
96 Type ReflectedType {get;}
99 #endif