DkmClrMethodScopeData Constructor

Definition

Initialize a new DkmClrMethodScopeData value.

public:
 DkmClrMethodScopeData(Microsoft::VisualStudio::Debugger::Clr::DkmILRange ILRange, int ParentScope, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrLocalVariable ^> ^ LocalVariables, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Clr::DkmClrLocalConstant ^> ^ LocalConstants, System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ Namespaces);
public DkmClrMethodScopeData (Microsoft.VisualStudio.Debugger.Clr.DkmILRange ILRange, int ParentScope, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable> LocalVariables, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalConstant> LocalConstants, System.Collections.ObjectModel.ReadOnlyCollection<string> Namespaces);
new Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData : Microsoft.VisualStudio.Debugger.Clr.DkmILRange * int * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalVariable> * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Clr.DkmClrLocalConstant> * System.Collections.ObjectModel.ReadOnlyCollection<string> -> Microsoft.VisualStudio.Debugger.Clr.DkmClrMethodScopeData
Public Sub New (ILRange As DkmILRange, ParentScope As Integer, LocalVariables As ReadOnlyCollection(Of DkmClrLocalVariable), LocalConstants As ReadOnlyCollection(Of DkmClrLocalConstant), Namespaces As ReadOnlyCollection(Of String))

Parameters

ILRange
DkmILRange

[In] The IL range of this scope.

ParentScope
Int32

[In] The index of the parent scope in the array of scopes for the method.

LocalVariables
ReadOnlyCollection<DkmClrLocalVariable>

[In] Local variables defined in the PDB.

LocalConstants
ReadOnlyCollection<DkmClrLocalConstant>

[In] Local constants defined in the PDB.

Namespaces
ReadOnlyCollection<String>

[In] Namespaces that are being 'used' within this scope.

Applies to