Table of Contents

Class SimpleTypeRecord

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

Represents a simple type referenced by a simple type index.

public class SimpleTypeRecord : CodeViewTypeRecord, ITpiLeaf, ICodeViewLeaf
Inheritance
SimpleTypeRecord
Implements
Inherited Members

Constructors

SimpleTypeRecord(SimpleTypeKind)

Constructs a new simple type with the provided type kind.

public SimpleTypeRecord(SimpleTypeKind kind)

Parameters

kind SimpleTypeKind

The type kind.

SimpleTypeRecord(SimpleTypeKind, SimpleTypeMode)

Constructs a new simple type with the provided type kind and mode.

public SimpleTypeRecord(SimpleTypeKind kind, SimpleTypeMode mode)

Parameters

kind SimpleTypeKind

The type kind.

mode SimpleTypeMode

The mode indicating the pointer specifiers added to the type.

SimpleTypeRecord(uint)

Constructs a new simple type based on the provided type index.

public SimpleTypeRecord(uint typeIndex)

Parameters

typeIndex uint

The type index.

Properties

IsPointer

Gets a value indicating whether the type is a pointer or not.

public bool IsPointer { get; }

Property Value

bool

Kind

Gets the kind of the simple type.

public SimpleTypeKind Kind { get; }

Property Value

SimpleTypeKind

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

Mode

Gets the mode describing the pointer specifiers that are added to the simple type.

public SimpleTypeMode Mode { get; }

Property Value

SimpleTypeMode

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.