Table of Contents

Class InstanceDataField

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

Represents an instance data member in a class or structure type.

public class InstanceDataField : CodeViewDataField, ITpiLeaf, ICodeViewLeaf
Inheritance
InstanceDataField
Implements
Derived
Inherited Members

Constructors

InstanceDataField(Utf8String, ulong, CodeViewTypeRecord)

Creates a new instance data member.

public InstanceDataField(Utf8String name, ulong offset, CodeViewTypeRecord dataType)

Parameters

name Utf8String

The name of the member.

offset ulong

The byte offset within the class or structure that the member is stored at.

dataType CodeViewTypeRecord

The data type of the member.

InstanceDataField(uint)

Initializes an empty instance data member.

protected InstanceDataField(uint typeIndex)

Parameters

typeIndex uint

The type index to assign to the member.

Properties

LeafKind

Gets the type kind this record encodes.

public override CodeViewLeafKind LeafKind { get; }

Property Value

CodeViewLeafKind

Offset

Gets or sets the byte offset within the class or structure that the member is stored at.

public ulong Offset { get; set; }

Property Value

ulong

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.