IDkmMCppSymbolProvider.GetManagedCppFunctionParameters 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.
Obtains the parameters to the managed C++ function represented by the given function symbol.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::Cpp::DkmMCppILLocalVariableSymbol ^> ^ GetManagedCppFunctionParameters(Microsoft::VisualStudio::Debugger::Clr::DkmClrInstructionSymbol ^ clrInstruction, Microsoft::VisualStudio::Debugger::DkmProcess ^ process);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppILLocalVariableSymbol> GetManagedCppFunctionParameters (Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol clrInstruction, Microsoft.VisualStudio.Debugger.DkmProcess process);
abstract member GetManagedCppFunctionParameters : Microsoft.VisualStudio.Debugger.Clr.DkmClrInstructionSymbol * Microsoft.VisualStudio.Debugger.DkmProcess -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.Cpp.DkmMCppILLocalVariableSymbol>
Public Function GetManagedCppFunctionParameters (clrInstruction As DkmClrInstructionSymbol, process As DkmProcess) As ReadOnlyCollection(Of DkmMCppILLocalVariableSymbol)
Parameters
- clrInstruction
- DkmClrInstructionSymbol
[In] DkmClrInstructionSymbol represents an IL instruction that runs under the Common Language Runtime (CLR) in the target process. This object contains the method version number. So in Edit-and-Continue scenarios, the instruction symbol would be different for different versions of the method. This object does not contain information about generic binding parameters. So different generic instantiations of a method (ex: MyMethod<string> and MyMethod<int>) are represented by the same instruction symbol since the CLR represents them with a single method token.
- process
- DkmProcess
[In] The process we are currently debugging.
Returns
[Out] The parameters to the given function.