Table of Contents

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 CodeViewTypeRecord

The definition of the nested type

name Utf8String

The 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 CodeViewTypeRecord

The definition of the nested type

name Utf8String

The name of the nested type.

attributes CodeViewFieldAttributes

The attributes assigned to the type.

NestedTypeField(uint)

Initializes an empty nested type.

protected NestedTypeField(uint typeIndex)

Parameters

typeIndex uint

The 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

CodeViewLeafKind

Type

Gets or sets the definition of the referenced nested type.

public CodeViewTypeRecord? Type { get; set; }

Property Value

CodeViewTypeRecord

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.