MetadataBuilder.AddMethodDebugInformation(DocumentHandle, BlobHandle) 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.
Adds method debug information.
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
Parameters
- document
- DocumentHandle
The handle of a single document containing all sequence points of the method, or null
if the method doesn't have sequence points or spans multiple documents.
- sequencePoints
- BlobHandle
The sequence Points blob, or null
if the method doesn't have sequence points.
Returns
A handle to the added method debug information.
Remarks
For more information about sequencePoints
, see: Sequence Points Blob on GitHub.