[Android] Enable access to up-to-date tzdata on Android 10+ (#20350)
[mono-project.git] / mcs / class / corlib / System.Runtime.InteropServices / _MethodBase.cs
blobca9013200cc740e38920929a4d9e535430b63928
1 //
2 // System.Runtime.InteropServices._MethodBase interface
3 //
4 // Author:
5 // Kazuki Oikawa (kazuki@panicode.com)
6 //
8 using System;
9 using System.Globalization;
10 using System.Reflection;
12 namespace System.Runtime.InteropServices
14 [CLSCompliant (false)]
15 [InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
16 [Guid ("6240837A-707F-3181-8E98-A36AE086766B")]
17 #if !FULL_AOT_RUNTIME
18 [TypeLibImportClass (typeof (MethodBase))]
19 #endif
20 [ComVisible (true)]
21 public interface _MethodBase
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 (object obj, object[] parameters);
48 object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
50 bool IsDefined(Type attributeType, bool inherit);
52 string ToString ();
54 MethodAttributes Attributes {get;}
56 CallingConventions CallingConvention {get;}
58 Type DeclaringType {get;}
60 bool IsAbstract {get;}
62 bool IsAssembly {get;}
64 bool IsConstructor {get;}
66 bool IsFamily {get;}
68 bool IsFamilyAndAssembly {get;}
70 bool IsFamilyOrAssembly {get;}
72 bool IsFinal {get;}
74 bool IsHideBySig {get;}
76 bool IsPrivate {get;}
78 bool IsPublic {get;}
80 bool IsSpecialName {get;}
82 bool IsStatic {get;}
84 bool IsVirtual {get;}
86 MemberTypes MemberType {get;}
88 RuntimeMethodHandle MethodHandle {get;}
90 string Name {get;}
92 Type ReflectedType {get;}