Update mcs/class/System.Core/System/TimeZoneInfo.cs
[mono.git] / mcs / class / corlib / System.Runtime.InteropServices / _MethodBase.cs
1 //
2 // System.Runtime.InteropServices._MethodBase 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 ("6240837A-707F-3181-8E98-A36AE086766B")]
17         [TypeLibImportClass (typeof (MethodBase))]
18         [ComVisible (true)]
19         public interface _MethodBase
20         {
21                 bool Equals (object other);
22                 
23                 object[] GetCustomAttributes (bool inherit);
24                 
25                 object[] GetCustomAttributes (Type attributeType, bool inherit);
26                 
27                 int GetHashCode ();
28
29                 MethodImplAttributes GetMethodImplementationFlags ();
30                 
31                 ParameterInfo[] GetParameters ();
32
33                 void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
34
35                 void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
36
37                 void GetTypeInfoCount (out uint pcTInfo);
38
39                 void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
40                         IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
41                 
42                 Type GetType ();
43
44                 object Invoke (object obj, object[] parameters);
45                 
46                 object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
47                 
48                 bool IsDefined(Type attributeType, bool inherit);
49                 
50                 string ToString ();
51
52                 MethodAttributes Attributes {get;}
53
54                 CallingConventions CallingConvention {get;}
55
56                 Type DeclaringType {get;}
57
58                 bool IsAbstract {get;}
59
60                 bool IsAssembly {get;}
61
62                 bool IsConstructor {get;}
63
64                 bool IsFamily {get;}
65
66                 bool IsFamilyAndAssembly {get;}
67
68                 bool IsFamilyOrAssembly {get;}
69
70                 bool IsFinal {get;}
71
72                 bool IsHideBySig {get;}
73
74                 bool IsPrivate {get;}
75
76                 bool IsPublic {get;}
77
78                 bool IsSpecialName {get;}
79
80                 bool IsStatic {get;}
81
82                 bool IsVirtual {get;}
83
84                 MemberTypes MemberType {get;}
85
86                 RuntimeMethodHandle MethodHandle {get;}
87
88                 string Name {get;}
89
90                 Type ReflectedType {get;}
91         }
92 }