Class ArgumentListLeaf
- Namespace
- AsmResolver.Symbols.Pdb.Leaves
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a leaf containing a list of type arguments for a function or method.
public class ArgumentListLeaf : CodeViewLeaf, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
ArgumentListLeaf
- Implements
- Derived
- Inherited Members
Constructors
ArgumentListLeaf()
Creates a new empty argument list.
public ArgumentListLeaf()
ArgumentListLeaf(params CodeViewTypeRecord[])
Creates a new argument list.
public ArgumentListLeaf(params CodeViewTypeRecord[] argumentTypes)
Parameters
argumentTypes
CodeViewTypeRecord[]
ArgumentListLeaf(uint)
Initializes an empty argument list.
protected ArgumentListLeaf(uint typeIndex)
Parameters
typeIndex
uintThe type index to assign to the list.
Properties
LeafKind
Gets the type kind this record encodes.
public override CodeViewLeafKind LeafKind { get; }
Property Value
Types
Gets an ordered collection of types that correspond to the types of each parameter.
public IList<CodeViewTypeRecord> Types { get; }
Property Value
Methods
GetArgumentTypes()
Obtains the argument types stored in the list.
protected virtual IList<CodeViewTypeRecord> GetArgumentTypes()
Returns
- IList<CodeViewTypeRecord>
The types.
Remarks
This method is called upon initialization of the Types property.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.