Class CodeViewDataField
- Namespace
- AsmResolver.Symbols.Pdb.Leaves
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a data member in a class or structure type.
public abstract class CodeViewDataField : CodeViewNamedField, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
CodeViewDataField
- Implements
- Derived
- Inherited Members
Constructors
CodeViewDataField(CodeViewTypeRecord, Utf8String)
Creates a new data member.
protected CodeViewDataField(CodeViewTypeRecord dataType, Utf8String name)
Parameters
dataType
CodeViewTypeRecordThe data type of the member.
name
Utf8StringThe name of the member.
CodeViewDataField(uint)
Initializes an empty instance data member.
protected CodeViewDataField(uint typeIndex)
Parameters
typeIndex
uintThe type index to assign to the member.
Properties
DataType
Gets or sets the data type of the member.
public CodeViewTypeRecord DataType { get; set; }
Property Value
Methods
GetDataType()
Obtains the data type of the member.
protected virtual CodeViewTypeRecord? GetDataType()
Returns
- CodeViewTypeRecord
The data type.
Remarks
This method is called upon initialization of the DataType property.
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.