Share via


IDkmClrDecompiler175 Interface

Definition

Provides decompilation services for CLR modules.

Implementations of this interface may restrict when they are called using a filter defined in their component configuration. The following properties may be used: BaseDebugMonitorId, EngineId, RuntimeId, SymbolProviderId, TransportKind.

This API was introduced in Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5).

public interface IDkmClrDecompiler175
type IDkmClrDecompiler175 = interface
Public Interface IDkmClrDecompiler175

Methods

CanDecompileMethod(DkmClrModuleInstance, DkmClrMethodId)

Provides information on whether or not the specified method can be decompiled.

DecompileDocument(DkmClrModuleInstance, String, String, Int32)

Decompiles the code for a document 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.

DecompileMethods(DkmClrModuleInstance, ReadOnlyCollection<DkmClrMethodId>, String, Int32)

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.

TryLoadDecompiledSymbols(DkmClrModuleInstance)

Attempts to load cached decompiled symbols for the module.

Applies to