MethodDefinitionHandle.ToDebugInformationHandle Method


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

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


A method debug information handle that corresponds to this handle.


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