System.Reflection.Emit.ConstructorBuilder: Method Members

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

See Also: Inherited members from System.Reflection.ConstructorInfo

Public Methods

AddDeclarativeSecurity(System.Security.Permissions.SecurityAction, System.Security.PermissionSet)

Adds declarative security to this constructor.

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

Defines a parameter of this constructor.

override
GetCustomAttributes(bool) : object[]

Returns all the custom attributes defined for this constructor.

override
GetCustomAttributes(Type, bool) : object[]

Returns the custom attributes identified by the given type.

GetILGenerator() : ILGenerator

Gets an System.Reflection.Emit.ILGenerator for this constructor.

GetILGenerator(int) : ILGenerator

Gets an System.Reflection.Emit.ILGenerator object, with the specified MSIL stream size, that can be used to build a method body for this constructor.

override
GetMethodImplementationFlags() : System.Reflection.MethodImplAttributes

Returns the method implementation flags for this constructor.

GetModule() : System.Reflection.Module

Returns a reference to the module that contains this constructor.

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

Returns the parameters of this constructor.

GetToken() : MethodToken

Returns the System.Reflection.Emit.MethodToken that represents the token for this constructor.

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

Invokes the constructor dynamically reflected by this instance on the given object, passing along the specified parameters, and under the constraints of the given binder.

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

Dynamically invokes the constructor reflected by this instance with the specified arguments, under the constraints of the specified Binder.

override
IsDefined(Type, bool) : bool

Checks if the specified custom attribute type is defined.

SetCustomAttribute(CustomAttributeBuilder)

Set a custom attribute using a custom attribute builder.

SetCustomAttribute(System.Reflection.ConstructorInfo, byte[])

Set a custom attribute using a specified custom attribute blob.

SetImplementationFlags(System.Reflection.MethodImplAttributes)

Sets the method implementation flags for this constructor.

SetSymCustomAttribute(string, byte[])

Sets this constructor's custom attribute associated with symbolic information.

override
ToString() : string

Returns this System.Reflection.Emit.ConstructorBuilder instance as a string.