private HResult GetMetadata(
     IntPtr self,
     string fileName,
     uint imageTimestamp,
     uint imageSize,
     byte[] mvid,
     uint mdRva,
     uint flags,
     uint bufferSize,
     IntPtr buffer,
     IntPtr dataSize)
 {
     return(_symbolService.GetMetadataLocator(fileName, imageTimestamp, imageSize, mvid, mdRva, flags, bufferSize, buffer, dataSize));
 }
Beispiel #2
0
 /// <summary>
 /// Metadata locator helper for the DAC.
 /// </summary>
 /// <param name="imagePath">file name and path to module</param>
 /// <param name="imageTimestamp">module timestamp</param>
 /// <param name="imageSize">module image</param>
 /// <param name="mvid">not used</param>
 /// <param name="mdRva">not used</param>
 /// <param name="flags">not used</param>
 /// <param name="bufferSize">size of incoming buffer (pMetadata)</param>
 /// <param name="pMetadata">pointer to buffer</param>
 /// <param name="pMetadataSize">size of outgoing metadata</param>
 /// <returns>HRESULT</returns>
 internal int GetMetadataLocator(
     IntPtr self,
     string imagePath,
     uint imageTimestamp,
     uint imageSize,
     byte[] mvid,
     uint mdRva,
     uint flags,
     uint bufferSize,
     IntPtr pMetadata,
     IntPtr pMetadataSize)
 {
     return(_symbolService.GetMetadataLocator(
                imagePath,
                imageTimestamp,
                imageSize,
                mvid,
                mdRva,
                flags,
                bufferSize,
                pMetadata,
                pMetadataSize));
 }