IDkmClrDecompiler175.DecompileMethods 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.
Decompiles the code for the methods into C# and updates the symbol file associated with the containing module with the necessary debugging information and embedded source. All modules that share this symbol file will begin using these updated symbols. Implementations should return S_OK on failure and return the actual HRESULT and any additional error information via the 'HR' and 'ErrorMessage' parameters.
public void DecompileMethods(Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance clrModuleInstance, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId> methods, out string? errorMessage, out int hR);
abstract member DecompileMethods : Microsoft.VisualStudio.Debugger.Clr.DkmClrModuleInstance * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodId> * string * int -> unit
Public Sub DecompileMethods (clrModuleInstance As DkmClrModuleInstance, methods As ReadOnlyCollection(Of DkmClrMethodId), ByRef errorMessage As String, ByRef hR As Integer)
Parameters
- clrModuleInstance
- DkmClrModuleInstance
[In] 'DkmClrModuleInstance' is used for modules which are loaded into the Common Language Runtime.
- methods
- ReadOnlyCollection<DkmClrMethodId>
[In] The collection of methods that should be decompiled.
- errorMessage
- String
[Out,Optional] Details on errors that occurred during decompilation, if available.
- hR
- Int32
[Out] HResult to return to the caller.