System.Reflection.MethodBase: Method Members

The methods of System.Reflection.MethodBase are listed below. For a list of all members, see the MethodBase Members list.

See Also: Inherited members from System.Reflection.MemberInfo

Public Methods

override
Equals(object) : bool

Returns a value that indicates whether this instance is equal to a specified object.

static
GetCurrentMethod() : MethodBase

Returns a MethodBase object representing the currently executing method.

GetGenericArguments() : Type[]

Returns an array of Type objects that represent the type arguments of a generic method or the type parameters of a generic method definition.

override
GetHashCode() : int

Returns the hash code for this instance.

GetMethodBody() : MethodBody

When overridden in a derived class, gets a System.Reflection.MethodBody object that provides access to the MSIL stream, local variables, and exceptions for the current method.

static
GetMethodFromHandle(RuntimeMethodHandle) : MethodBase

Gets method information by using the method's internal metadata representation (handle).

static
GetMethodFromHandle(RuntimeMethodHandle, RuntimeTypeHandle) : MethodBase

Gets a System.Reflection.MethodBase object for the constructor or method represented by the specified handle, for the specified generic type.

abstract
GetMethodImplementationFlags() : MethodImplAttributes

When overridden in a derived class, returns the System.Reflection.MethodImplAttributes flags.

abstract
GetParameters() : ParameterInfo[]

When overridden in a derived class, gets the parameters of the specified method or constructor.

GetType() : Type
Documentation for this section has not yet been entered.
Invoke(object, object[]) : object

Invokes the method or constructor represented by the current instance, using the specified parameters.

abstract
Invoke(object, BindingFlags, Binder, object[], System.Globalization.CultureInfo) : object

When overridden in a derived class, invokes the reflected method or constructor with the given parameters.