Table of Contents

Class StringIdentifier

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

Represents a String ID entry within the IPI stream of a PDB image.

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

Constructors

StringIdentifier(Utf8String)

Creates a new String ID entry.

public StringIdentifier(Utf8String value)

Parameters

value Utf8String

The string value to wrap.

StringIdentifier(Utf8String, SubStringListLeaf?)

Creates a new String ID entry.

public StringIdentifier(Utf8String value, SubStringListLeaf? subStrings)

Parameters

value Utf8String

The string value to wrap.

subStrings SubStringListLeaf

A list of sub strings.

StringIdentifier(uint)

Initializes an empty String ID entry.

protected StringIdentifier(uint typeIndex)

Parameters

typeIndex uint

The type index.

Properties

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

SubStrings

Gets or sets a list of sub strings associated to the entry (if available).

public SubStringListLeaf? SubStrings { get; set; }

Property Value

SubStringListLeaf

Value

Gets or sets the wrapped string.

public Utf8String Value { get; set; }

Property Value

Utf8String

Methods

GetSubStrings()

Obtains the sub strings associated to the string.

protected virtual SubStringListLeaf? GetSubStrings()

Returns

SubStringListLeaf

The sub string.

Remarks

This method is called upon initialization of the SubStrings property.

GetValue()

Obtains the wrapped string value.

protected virtual Utf8String? GetValue()

Returns

Utf8String

The string.

Remarks

This method is called upon initialization of the Value property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.