System.Reflection.Emit.DynamicMethod: Method Members

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

See Also: Inherited members from System.Reflection.MethodInfo

Public Methods

override
CreateDelegate(Type) : Delegate

Completes the dynamic method and creates a delegate that can be used to execute it.

override
CreateDelegate(Type, object) : Delegate

Completes the dynamic method and creates a delegate that can be used to execute it, specifying the delegate type and an object the delegate is bound to.

DefineParameter(int, System.Reflection.ParameterAttributes, string) : ParameterBuilder

Defines a parameter of the dynamic method.

Finalize()
Documentation for this section has not yet been entered.
override
GetBaseDefinition() : System.Reflection.MethodInfo

Returns the base implementation for the method.

override
GetCustomAttributes(bool) : object[]

Returns all the custom attributes defined for the method.

override
GetCustomAttributes(Type, bool) : object[]

Returns the custom attributes of the specified type that have been applied to the method.

GetDynamicILInfo() : DynamicILInfo

Returns a System.Reflection.Emit.DynamicILInfo object that can be used to generate a method body from metadata tokens, scopes, and Microsoft intermediate language (MSIL) streams.

GetILGenerator() : ILGenerator

Returns a Microsoft intermediate language (MSIL) generator for the method with a default MSIL stream size of 64 bytes.

GetILGenerator(int) : ILGenerator

Returns a Microsoft intermediate language (MSIL) generator for the method with the specified MSIL stream size.

override
GetMethodImplementationFlags() : System.Reflection.MethodImplAttributes

Returns the implementation flags for the method.

override
GetParameters() : System.Reflection.ParameterInfo[]

Returns the parameters of the dynamic method.

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

Invokes the dynamic method using the specified parameters, under the constraints of the specified binder, with the specified culture information.

override
IsDefined(Type, bool) : bool

Indicates whether the specified custom attribute type is defined.

override
ToString() : string

Returns the signature of the method, represented as a string.