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
Utf8StringThe name of the member.
offset
ulongThe byte offset within the class or structure that the member is stored at.
dataType
CodeViewTypeRecordThe data type of the member.
InstanceDataField(uint)
Initializes an empty instance data member.
protected InstanceDataField(uint typeIndex)
Parameters
typeIndex
uintThe type index to assign to the member.
Properties
LeafKind
Gets the type kind this record encodes.
public override CodeViewLeafKind LeafKind { get; }
Property Value
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
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.