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
SimpleTypeKindThe 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
SimpleTypeKindThe type kind.
mode
SimpleTypeModeThe 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
uintThe type index.
Properties
IsPointer
Gets a value indicating whether the type is a pointer or not.
public bool IsPointer { get; }
Property Value
Kind
Gets the kind of the simple type.
public SimpleTypeKind Kind { get; }
Property Value
LeafKind
Gets the type kind this record encodes.
public override CodeViewLeafKind LeafKind { get; }
Property Value
Mode
Gets the mode describing the pointer specifiers that are added to the simple type.
public SimpleTypeMode Mode { get; }
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.