System.Reflection.Emit.MethodBuilder: Property Members

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

See Also: Inherited members from System.Reflection.MethodInfo

Public Properties

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

Retrieves the attributes for this method.

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

Returns the calling convention of the method.

[read-only]
override
ContainsGenericParametersbool.

Not supported for this type.

[read-only]
override
DeclaringTypeType.

Returns the type that declares this method.

InitLocalsbool.

Gets or sets a Boolean value that specifies whether the local variables in this method are zero initialized. The default value of this property is true.

[read-only]
override
IsGenericMethodbool.

Gets a value indicating whether the method is a generic method.

[read-only]
override
IsGenericMethodDefinitionbool.

Gets a value indicating whether the current System.Reflection.Emit.MethodBuilder object represents the definition of a generic method.

[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 module in which the current method is being defined.

[read-only]
override
Namestring.

Retrieves the name of this method.

[read-only]
override
ReflectedTypeType.

Retrieves the class that was used in reflection to obtain this object.

[read-only]
override
ReturnParameterSystem.Reflection.ParameterInfo.

Gets a System.Reflection.ParameterInfo object that contains information about the return type of the method, such as whether the return type has custom modifiers.

[read-only]
override
ReturnTypeType.

Gets the return type of the method represented by this System.Reflection.Emit.MethodBuilder.

[read-only]
override
ReturnTypeCustomAttributesSystem.Reflection.ICustomAttributeProvider.

Returns the custom attributes of the method's return type.

[read-only]
Signaturestring.

Retrieves the signature of the method.