Class SerializedStringIdentifier
- Namespace
- AsmResolver.Symbols.Pdb.Leaves.Serialized
- Assembly
- AsmResolver.Symbols.Pdb.dll
Provides a lazily initialized implementation of StringIdentifier that is read from a PDB image.
public class SerializedStringIdentifier : StringIdentifier, IIpiLeaf, ICodeViewLeaf
- Inheritance
-
SerializedStringIdentifier
- Implements
- Inherited Members
Constructors
SerializedStringIdentifier(PdbReaderContext, uint, BinaryStreamReader)
Reads a string ID from the provided input stream.
public SerializedStringIdentifier(PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)
Parameters
context
PdbReaderContextThe reading context in which the member is situated in.
typeIndex
uintThe type index to assign to the member.
reader
BinaryStreamReaderThe input stream to read from.
Methods
GetSubStrings()
Obtains the sub strings associated to the string.
protected override 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 override Utf8String GetValue()
Returns
- Utf8String
The string.
Remarks
This method is called upon initialization of the Value property.