Edit

Share via


MethodDebugInformationHandle.ToDefinitionHandle Method

Definition

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

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

Returns

A method definition handle that corresponds to this handle.

Remarks

The returned handle is only valid within the context of a MetadataReader open on the type system metadata blob, which in the case of a standalone PDB file is a different reader than the one containing this method debug information.

Applies to