Table of Contents

Class SerializedClassTypeRecord

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

Provides a lazily initialized implementation of ClassTypeRecord that is read from a PDB image.

public class SerializedClassTypeRecord : ClassTypeRecord, ITpiLeaf, ICodeViewLeaf
Inheritance
SerializedClassTypeRecord
Implements
Inherited Members

Constructors

SerializedClassTypeRecord(CodeViewLeafKind, PdbReaderContext, uint, BinaryStreamReader)

Reads a class type from the provided input stream.

public SerializedClassTypeRecord(CodeViewLeafKind kind, PdbReaderContext context, uint typeIndex, BinaryStreamReader reader)

Parameters

kind CodeViewLeafKind

The kind of type that is being read.

context PdbReaderContext

The reading context in which the type is situated in.

typeIndex uint

The type index to assign to the type.

reader BinaryStreamReader

The input stream to read from.

Methods

GetBaseType()

Obtains the type that the type is derived from.

protected override CodeViewTypeRecord? GetBaseType()

Returns

CodeViewTypeRecord

The type.

Remarks

This method is called upon initialization of the BaseType property.

GetFields()

Obtains the fields defined in the type.

protected override FieldListLeaf? GetFields()

Returns

FieldListLeaf

The fields.

Remarks

This method is called upon initialization of the Fields property.

GetName()

Obtains the new name of the type.

protected override Utf8String GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.

GetUniqueName()

Obtains the uniquely identifiable name of the type.

protected override Utf8String GetUniqueName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the UniqueName property.

GetVTableShape()

Obtains the shape of the virtual function table name of the type.

protected override VTableShapeLeaf? GetVTableShape()

Returns

VTableShapeLeaf

The shape.

Remarks

This method is called upon initialization of the VTableShape property.