MethodDebugInformationHandle.ToDefinitionHandle Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.