merge r67228-r67235, r67237, r67251 and r67256-67259 to trunk (they are
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _ConstructorInfo.cs
1 //
2 // System.Runtime.InteropServices._ConstructorInfo interface
3 //
4 // Author:
5 //   Kazuki Oikawa  (kazuki@panicode.com)
6 //
7
8 #if NET_1_1
9
10 using System;
11 using System.Globalization;
12 using System.Reflection;
13
14 namespace System.Runtime.InteropServices
15 {
16         [CLSCompliant (false)]
17         [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
18         [Guid ("E9A19478-9646-3679-9B10-8411AE1FD57D")]
19         [TypeLibImportClass (typeof (ConstructorInfo))]
20         public interface _ConstructorInfo
21         {
22                 bool Equals (object obj);
23
24                 object[] GetCustomAttributes (bool inherit);
25
26                 object[] GetCustomAttributes (Type attributeType, bool inherit);
27
28                 int GetHashCode ();
29
30                 MethodImplAttributes GetMethodImplementationFlags ();
31
32                 ParameterInfo[] GetParameters ();
33
34                 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
35
36                 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
37
38                 void GetTypeInfoCount (out uint pcTInfo);
39
40                 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
41                         IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
42
43                 Type GetType ();
44
45                 object Invoke_5 (object[] parameters);
46
47                 object Invoke_3 (object obj, object[] parameters);
48
49                 object Invoke_4 (BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
50
51                 object Invoke_2 (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
52
53                 bool IsDefined (Type attributeType, bool inherit);
54
55                 string ToString ();
56
57                 MethodAttributes Attributes {get;}
58
59                 CallingConventions CallingConvention {get;}
60
61                 Type DeclaringType {get;}
62
63                 bool IsAbstract {get;}
64
65                 bool IsAssembly {get;}
66
67                 bool IsConstructor {get;}
68
69                 bool IsFamily {get;}
70
71                 bool IsFamilyAndAssembly {get;}
72
73                 bool IsFamilyOrAssembly {get;}
74
75                 bool IsFinal {get;}
76
77                 bool IsHideBySig {get;}
78
79                 bool IsPrivate {get;}
80
81                 bool IsPublic {get;}
82
83                 bool IsSpecialName {get;}
84
85                 bool IsStatic {get;}
86
87                 bool IsVirtual {get;}
88
89                 MemberTypes MemberType {get;}
90
91                 RuntimeMethodHandle MethodHandle {get;}
92
93                 string Name {get;}
94
95                 Type ReflectedType {get;}
96         }
97 }
98 #endif