MetadataBuilder.AddMethodDebugInformation(DocumentHandle, BlobHandle) 方法

定义

添加方法调试信息。

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

参数

document
DocumentHandle

如果方法具有序列点或跨越多个文档,则为单个文档的句柄,其中包含方法的所有序列点;否则为 null

sequencePoints
BlobHandle

如果方法具有序列点,则为序列点 blob;否则为 null

返回

已添加的方法调试信息的句柄。

注解

有关 的详细信息 sequencePoints,请参阅 GitHub 上的 Sequence Points Blob

适用于