Table of Contents

Class BaseClassField

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

Represents a reference to a base class object in a structure.

public class BaseClassField : CodeViewField, ITpiLeaf, ICodeViewLeaf
Inheritance
BaseClassField
Implements
Derived
Inherited Members

Constructors

BaseClassField(CodeViewTypeRecord)

Creates a new base class field.

public BaseClassField(CodeViewTypeRecord type)

Parameters

type CodeViewTypeRecord

The base type to reference.

BaseClassField(uint)

Initializes an empty base class.

protected BaseClassField(uint typeIndex)

Parameters

typeIndex uint

The type index to assign to the base class field.

Properties

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

Offset

Gets or sets the offset of the base within the class.

public ulong Offset { get; set; }

Property Value

ulong

Type

Gets or sets the base type that this base class is referencing.

public CodeViewTypeRecord? Type { get; set; }

Property Value

CodeViewTypeRecord

Methods

GetBaseType()

Obtains the base type that the class is referencing.

protected virtual CodeViewTypeRecord? GetBaseType()

Returns

CodeViewTypeRecord

The base type.

Remarks

This method is called upon initialization of the Type property.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.