Class NestedTypeField
- Namespace
- AsmResolver.Symbols.Pdb.Leaves
- Assembly
- AsmResolver.Symbols.Pdb.dll
Represents a field in a type that references a nested type definition.
public class NestedTypeField : CodeViewNamedField, ITpiLeaf, ICodeViewLeaf
- Inheritance
-
NestedTypeField
- Implements
- Derived
- Inherited Members
Constructors
NestedTypeField(CodeViewTypeRecord, Utf8String)
Creates a new nested type field.
public NestedTypeField(CodeViewTypeRecord type, Utf8String name)
Parameters
type
CodeViewTypeRecordThe definition of the nested type
name
Utf8StringThe name of the nested type.
NestedTypeField(CodeViewTypeRecord, Utf8String, CodeViewFieldAttributes)
Creates a new nested type (extended) field.
public NestedTypeField(CodeViewTypeRecord type, Utf8String name, CodeViewFieldAttributes attributes)
Parameters
type
CodeViewTypeRecordThe definition of the nested type
name
Utf8StringThe name of the nested type.
attributes
CodeViewFieldAttributesThe attributes assigned to the type.
NestedTypeField(uint)
Initializes an empty nested type.
protected NestedTypeField(uint typeIndex)
Parameters
typeIndex
uintThe type index to assign to the nested type field.
Properties
LeafKind
Gets the type kind this record encodes.
public override CodeViewLeafKind LeafKind { get; }
Property Value
Type
Gets or sets the definition of the referenced nested type.
public CodeViewTypeRecord? Type { get; set; }
Property Value
Methods
GetNestedType()
Obtains the definition of the nested type.
protected virtual CodeViewTypeRecord? GetNestedType()
Returns
- CodeViewTypeRecord
The type
Remarks
This method is called upon initialization of the Type property.