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