MethodBodyBlock.Create(BlobReader) Method

Definition

Creates a new instance of the MethodBodyBlock class using the specified blob reader.

public:
 static System::Reflection::Metadata::MethodBodyBlock ^ Create(System::Reflection::Metadata::BlobReader reader);
public static System.Reflection.Metadata.MethodBodyBlock Create (System.Reflection.Metadata.BlobReader reader);
static member Create : System.Reflection.Metadata.BlobReader -> System.Reflection.Metadata.MethodBodyBlock
Public Shared Function Create (reader As BlobReader) As MethodBodyBlock

Parameters

reader
BlobReader

The blob reader to read the method body.

Returns

A new instance of the MethodBodyBlock class.

Exceptions

The method body data in the specified blob reader is invalid.

Applies to