Table of Contents

Class CodeViewCompositeTypeRecord

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

Provides a base for all code view types that can define one or more fields.

public abstract class CodeViewCompositeTypeRecord : CodeViewTypeRecord, ITpiLeaf, ICodeViewLeaf
Inheritance
CodeViewCompositeTypeRecord
Implements
Derived
Inherited Members

Constructors

CodeViewCompositeTypeRecord(uint)

Initializes a new empty composite type.

protected CodeViewCompositeTypeRecord(uint typeIndex)

Parameters

typeIndex uint

The type index to assign to the type.

Properties

Fields

Gets a collection of fields that are defined in the enum.

public FieldListLeaf? Fields { get; set; }

Property Value

FieldListLeaf

Name

Gets or sets the name of the type.

public Utf8String Name { get; set; }

Property Value

Utf8String

StructureAttributes

Gets or sets the structural attributes assigned to the type.

public StructureAttributes StructureAttributes { get; set; }

Property Value

StructureAttributes

Methods

GetFields()

Obtains the fields defined in the type.

protected virtual 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 virtual Utf8String GetName()

Returns

Utf8String

The name.

Remarks

This method is called upon initialization of the Name property.