MetadataBuilder.AddMethodDebugInformation(DocumentHandle, BlobHandle) Method

Definition

Adds method debug information.

public:
 System::Reflection::Metadata::MethodDebugInformationHandle AddMethodDebugInformation(System::Reflection::Metadata::DocumentHandle document, System::Reflection::Metadata::BlobHandle sequencePoints);
public System.Reflection.Metadata.MethodDebugInformationHandle AddMethodDebugInformation (System.Reflection.Metadata.DocumentHandle document, System.Reflection.Metadata.BlobHandle sequencePoints);
member this.AddMethodDebugInformation : System.Reflection.Metadata.DocumentHandle * System.Reflection.Metadata.BlobHandle -> System.Reflection.Metadata.MethodDebugInformationHandle
Public Function AddMethodDebugInformation (document As DocumentHandle, sequencePoints As BlobHandle) As MethodDebugInformationHandle

Parameters

document
DocumentHandle

The handle of a single document containing all sequence points of the method, or null if the method doesn't have sequence points or spans multiple documents.

sequencePoints
BlobHandle

The sequence Points blob, or null if the method doesn't have sequence points.

Returns

A handle to the added method debug information.

Remarks

For more information about sequencePoints, see: Sequence Points Blob on GitHub.

Applies to