Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

101 lines
2.1 KiB
C#

//
// System.Runtime.InteropServices._MethodInfo interface
//
// Author:
// Kazuki Oikawa (kazuki@panicode.com)
//
using System;
using System.Globalization;
using System.Reflection;
namespace System.Runtime.InteropServices
{
[CLSCompliant (false)]
[InterfaceType (ComInterfaceType.InterfaceIsIUnknown)]
[Guid ("FFCC1B5D-ECB8-38DD-9B01-3DC8ABC2AA5F")]
#if !FULL_AOT_RUNTIME
[TypeLibImportClass (typeof (MethodInfo))]
#endif
[ComVisible (true)]
public interface _MethodInfo
{
bool Equals (object other);
MethodInfo GetBaseDefinition();
object[] GetCustomAttributes (bool inherit);
object[] GetCustomAttributes (Type attributeType, bool inherit);
int GetHashCode ();
MethodImplAttributes GetMethodImplementationFlags ();
ParameterInfo[] GetParameters ();
void GetIDsOfNames ([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId);
void GetTypeInfo (uint iTInfo, uint lcid, IntPtr ppTInfo);
void GetTypeInfoCount (out uint pcTInfo);
void Invoke (uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams,
IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr);
Type GetType ();
object Invoke (object obj, object[] parameters);
object Invoke (object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture);
bool IsDefined(Type attributeType, bool inherit);
string ToString ();
MethodAttributes Attributes {get;}
CallingConventions CallingConvention {get;}
Type DeclaringType {get;}
bool IsAbstract {get;}
bool IsAssembly {get;}
bool IsConstructor {get;}
bool IsFamily {get;}
bool IsFamilyAndAssembly {get;}
bool IsFamilyOrAssembly {get;}
bool IsFinal {get;}
bool IsHideBySig {get;}
bool IsPrivate {get;}
bool IsPublic {get;}
bool IsSpecialName {get;}
bool IsStatic {get;}
bool IsVirtual {get;}
MemberTypes MemberType {get;}
RuntimeMethodHandle MethodHandle {get;}
string Name {get;}
Type ReflectedType {get;}
Type ReturnType {get;}
ICustomAttributeProvider ReturnTypeCustomAttributes {get;}
}
}