Table of Contents

Class SubStringListLeaf

Namespace
AsmResolver.Symbols.Pdb.Leaves
Assembly
AsmResolver.Symbols.Pdb.dll

Represents a list of sub strings associated to a String ID entry.

public class SubStringListLeaf : CodeViewLeaf, IIpiLeaf, ICodeViewLeaf
Inheritance
SubStringListLeaf
Implements
Derived
Inherited Members

Constructors

SubStringListLeaf()

Creates a new empty list of sub-strings.

public SubStringListLeaf()

SubStringListLeaf(params StringIdentifier[])

Creates a new list of sub-strings.

public SubStringListLeaf(params StringIdentifier[] elements)

Parameters

elements StringIdentifier[]

The strings to add.

SubStringListLeaf(IEnumerable<StringIdentifier>)

Creates a new list of sub-strings.

public SubStringListLeaf(IEnumerable<StringIdentifier> elements)

Parameters

elements IEnumerable<StringIdentifier>

The strings to add.

SubStringListLeaf(uint)

Initializes an empty sub-string list.

protected SubStringListLeaf(uint typeIndex)

Parameters

typeIndex uint

The type index associated to the list.

Properties

Entries

Gets a collection of entries stored in the list.

public IList<StringIdentifier> Entries { get; }

Property Value

IList<StringIdentifier>

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

Methods

GetEntries()

Obtains the sub strings stored in the list.

protected virtual IList<StringIdentifier> GetEntries()

Returns

IList<StringIdentifier>

The sub strings.

Remarks

This method is called upon initialization of the Entries property.