Bewerken

Share via


MethodDefinitionHandle.ToDebugInformationHandle Method

Definition

Returns a handle to a MethodDebugInformation that corresponds to this handle.

public:
 System::Reflection::Metadata::MethodDebugInformationHandle ToDebugInformationHandle();
public System.Reflection.Metadata.MethodDebugInformationHandle ToDebugInformationHandle ();
member this.ToDebugInformationHandle : unit -> System.Reflection.Metadata.MethodDebugInformationHandle
Public Function ToDebugInformationHandle () As MethodDebugInformationHandle

Returns

A method debug information handle that corresponds to this handle.

Remarks

The resulting handle is only valid within the context of a MetadataReader open on the Portable PDB blob, which in the case of a standalone PDB file is a different reader than the one containing this method definition.

Applies to