System.Reflection.Emit.DynamicMethod
Defines and represents a dynamic method that can be compiled, executed, and discarded. Discarded methods are available for garbage collection.
namespace System.Reflection.Emit
{
public sealed class DynamicMethod : MethodInfo
{
public bool InitLocals { get; set; }
public DynamicMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Module m, bool skipVisibility);
public DynamicMethod(string name, MethodAttributes attributes, CallingConventions callingConvention, Type returnType, Type[] parameterTypes, Type owner, bool skipVisibility);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes, bool restrictedSkipVisibility);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes, Module m);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes, Module m, bool skipVisibility);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes, Type owner);
public DynamicMethod(string name, Type returnType, Type[] parameterTypes, Type owner, bool skipVisibility);
public ParameterBuilder DefineParameter(int position, ParameterAttributes attributes, string parameterName);
public ILGenerator GetILGenerator();
public ILGenerator GetILGenerator(int streamSize);
}
}