System.Reflection.MethodBody Members

The members of System.Reflection.MethodBody are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Reflection.MethodBody class.

Public Properties

[read-only]
ExceptionHandlingClausesIList<ExceptionHandlingClause>.

Gets a list that includes all the exception-handling clauses in the method body.

[read-only]
InitLocalsbool.

Gets a value indicating whether local variables in the method body are initialized to the default values for their types.

[read-only]
LocalSignatureMetadataTokenint.

Gets a metadata token for the signature that describes the local variables for the method in metadata.

[read-only]
LocalVariablesIList<LocalVariableInfo>.

Gets the list of local variables declared in the method body.

[read-only]
MaxStackSizeint.

Gets the maximum number of items on the operand stack when the method is executing.

Public Methods

GetILAsByteArray() : byte[]

Returns the MSIL for the method body, as an array of bytes.