System.Reflection.Emit.ConstructorBuilder Members

The members of System.Reflection.Emit.ConstructorBuilder are listed below.

See Also: Inherited members from System.Reflection.ConstructorInfo

Public Properties

[read-only]
override
AttributesSystem.Reflection.MethodAttributes.

Retrieves the attributes for this constructor.

[read-only]
override
CallingConventionSystem.Reflection.CallingConventions.

Gets a System.Reflection.CallingConventions value that depends on whether the declaring type is generic.

[read-only]
override
DeclaringTypeType.

Retrieves a reference to the Type object for the type that declares this member.

InitLocalsbool.

Gets or sets whether the local variables in this constructor should be zero-initialized.

[read-only]
override
MethodHandleRuntimeMethodHandle.

Retrieves the internal handle for the method. Use this handle to access the underlying metadata handle.

[read-only]
override
ModuleSystem.Reflection.Module.

Gets the dynamic module in which this constructor is defined.

[read-only]
override
Namestring.

Retrieves the name of this constructor.

[read-only]
override
ReflectedTypeType.

Holds a reference to the Type object from which this object was obtained.

[read-only]
ReturnTypeType.

Gets null.

[read-only]
Signaturestring.

Retrieves the signature of the field in the form of a string.

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.

Explicitly Implemented Interface Members

System.Runtime.InteropServices._ConstructorBuilder.GetIDsOfNamesDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._ConstructorBuilder.GetTypeInfo

Retrieves the type information for an object, which can then be used to get the type information for an interface.

System.Runtime.InteropServices._ConstructorBuilder.GetTypeInfoCountDocumentation for this section has not yet been entered.
System.Runtime.InteropServices._ConstructorBuilder.InvokeDocumentation for this section has not yet been entered.