using System;
using System.Runtime.InteropServices;
namespace System.Reflection
{
/// Discovers the attributes of a method and provides access to method metadata.
// Token: 0x0200024F RID: 591
[ClassInterface(ClassInterfaceType.None)]
[ComVisible(true)]
[ComDefaultInterface(typeof(_MethodInfo))]
[Serializable]
public abstract class MethodInfo : MethodBase, _MethodInfo
{
/// Maps a set of names to a corresponding set of dispatch identifiers.
/// Reserved for future use. Must be IID_NULL.
/// Passed-in array of names to be mapped.
/// Count of the names to be mapped.
/// The locale context in which to interpret the names.
/// Caller-allocated array that receives the IDs corresponding to the names.
/// Late-bound access using the COM IDispatch interface is not supported.
// Token: 0x06001E80 RID: 7808 RVA: 0x00071170 File Offset: 0x0006F370
void _MethodInfo.GetIDsOfNames([In] ref Guid riid, IntPtr rgszNames, uint cNames, uint lcid, IntPtr rgDispId)
{
throw new NotImplementedException();
}
/// Retrieves the type information for an object, which can be used to get the type information for an interface.
/// The type information to return.
/// The locale identifier for the type information.
/// Receives a pointer to the requested type information object.
/// Late-bound access using the COM IDispatch interface is not supported.
// Token: 0x06001E81 RID: 7809 RVA: 0x00071178 File Offset: 0x0006F378
void _MethodInfo.GetTypeInfo(uint iTInfo, uint lcid, IntPtr ppTInfo)
{
throw new NotImplementedException();
}
/// Retrieves the number of type information interfaces that an object provides (either 0 or 1).
/// Points to a location that receives the number of type information interfaces provided by the object.
/// Late-bound access using the COM IDispatch interface is not supported.
// Token: 0x06001E82 RID: 7810 RVA: 0x00071180 File Offset: 0x0006F380
void _MethodInfo.GetTypeInfoCount(out uint pcTInfo)
{
throw new NotImplementedException();
}
/// Provides access to properties and methods exposed by an object.
/// Identifies the member.
/// Reserved for future use. Must be IID_NULL.
/// The locale context in which to interpret arguments.
/// Flags describing the context of the call.
/// Pointer to a structure containing an array of arguments, an array of argument DISPIDs for named arguments, and counts for the number of elements in the arrays.
/// Pointer to the location where the result is to be stored.
/// Pointer to a structure that contains exception information.
/// The index of the first argument that has an error.
/// Late-bound access using the COM IDispatch interface is not supported.
// Token: 0x06001E83 RID: 7811 RVA: 0x00071188 File Offset: 0x0006F388
void _MethodInfo.Invoke(uint dispIdMember, [In] ref Guid riid, uint lcid, short wFlags, IntPtr pDispParams, IntPtr pVarResult, IntPtr pExcepInfo, IntPtr puArgErr)
{
throw new NotImplementedException();
}
/// When overridden in a derived class, returns the MethodInfo object for the method on the direct or indirect base class in which the method represented by this instance was first declared.
/// A MethodInfo object for the first implementation of this method.
// Token: 0x06001E84 RID: 7812
public abstract MethodInfo GetBaseDefinition();
/// Gets a value indicating that this member is a method.
/// A value indicating that this member is a method.
// Token: 0x170005A0 RID: 1440
// (get) Token: 0x06001E85 RID: 7813 RVA: 0x00071190 File Offset: 0x0006F390
public override MemberTypes MemberType
{
get
{
return MemberTypes.Method;
}
}
/// Gets the return type of this method.
/// The return type of this method.
// Token: 0x170005A1 RID: 1441
// (get) Token: 0x06001E86 RID: 7814 RVA: 0x00071194 File Offset: 0x0006F394
public virtual Type ReturnType
{
get
{
return null;
}
}
/// Gets the custom attributes for the return type.
/// An ICustomAttributeProvider object representing the custom attributes for the return type.
// Token: 0x170005A2 RID: 1442
// (get) Token: 0x06001E87 RID: 7815
public abstract ICustomAttributeProvider ReturnTypeCustomAttributes { get; }
/// Returns a object that represents a generic method definition from which the current method can be constructed.
/// A object representing a generic method definition from which the current method can be constructed.
/// The current method is not a generic method. That is, returns false.
/// This method is not supported.
// Token: 0x06001E88 RID: 7816 RVA: 0x00071198 File Offset: 0x0006F398
[ComVisible(true)]
public virtual MethodInfo GetGenericMethodDefinition()
{
throw new NotSupportedException();
}
/// Substitutes the elements of an array of types for the type parameters of the current generic method definition, and returns a object representing the resulting constructed method.
/// A object that represents the constructed method formed by substituting the elements of for the type parameters of the current generic method definition.
/// An array of types to be substituted for the type parameters of the current generic method definition.
/// The current does not represent a generic method definition. That is, returns false.
///
/// is null.-or- Any element of is null.
/// The number of elements in is not the same as the number of type parameters of the current generic method definition.-or- An element of does not satisfy the constraints specified for the corresponding type parameter of the current generic method definition.
/// This method is not supported.
// Token: 0x06001E89 RID: 7817 RVA: 0x000711A0 File Offset: 0x0006F3A0
public virtual MethodInfo MakeGenericMethod(params Type[] typeArguments)
{
throw new NotSupportedException(base.GetType().ToString());
}
/// Returns an array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition.
/// An array of objects that represent the type arguments of a generic method or the type parameters of a generic method definition. Returns an empty array if the current method is not a generic method.
/// This method is not supported.
// Token: 0x06001E8A RID: 7818 RVA: 0x000711B4 File Offset: 0x0006F3B4
[ComVisible(true)]
public override Type[] GetGenericArguments()
{
return Type.EmptyTypes;
}
/// Gets a value indicating whether the current method is a generic method.
/// true if the current method is a generic method; otherwise, false.
// Token: 0x170005A3 RID: 1443
// (get) Token: 0x06001E8B RID: 7819 RVA: 0x000711BC File Offset: 0x0006F3BC
public override bool IsGenericMethod
{
get
{
return false;
}
}
/// Gets a value indicating whether the current represents the definition of a generic method.
/// true if the object represents the definition of a generic method; otherwise, false.
// Token: 0x170005A4 RID: 1444
// (get) Token: 0x06001E8C RID: 7820 RVA: 0x000711C0 File Offset: 0x0006F3C0
public override bool IsGenericMethodDefinition
{
get
{
return false;
}
}
/// Gets a value indicating whether a generic method contains unassigned generic type parameters.
/// true if the current contains unassigned generic type parameters; otherwise, false.
// Token: 0x170005A5 RID: 1445
// (get) Token: 0x06001E8D RID: 7821 RVA: 0x000711C4 File Offset: 0x0006F3C4
public override bool ContainsGenericParameters
{
get
{
return false;
}
}
/// Gets a object that contains information about the return type of the method, such as whether the return type has custom modifiers.
/// A object that contains information about the return type.
/// This method is not implemented.
// Token: 0x170005A6 RID: 1446
// (get) Token: 0x06001E8E RID: 7822 RVA: 0x000711C8 File Offset: 0x0006F3C8
public virtual ParameterInfo ReturnParameter
{
get
{
throw new NotSupportedException();
}
}
/// Provides access to the method from COM.
/// A object representing the type.
// Token: 0x06001E8F RID: 7823 RVA: 0x000711D0 File Offset: 0x0006F3D0
virtual Type System.Runtime.InteropServices._MethodInfo.GetType()
{
return base.GetType();
}
}
}