Table of Contents

Struct PropertyPointerRow

Namespace
AsmResolver.PE.DotNet.Metadata.Tables
Assembly
AsmResolver.PE.dll

Represents a single row in the property pointer metadata table.

public struct PropertyPointerRow : IMetadataRow, IReadOnlyList<uint>, IReadOnlyCollection<uint>, IEnumerable<uint>, IEnumerable, IEquatable<PropertyPointerRow>
Implements
Inherited Members

Constructors

PropertyPointerRow(uint)

Creates a new row for the property pointer metadata table.

public PropertyPointerRow(uint property)

Parameters

property uint

The index into the Property table that this pointer references.

Properties

Count

public int Count { get; }

Property Value

int

this[int]

public uint this[int index] { get; }

Parameters

index int

Property Value

uint

Property

Gets or sets an index into the Property table that this pointer references.

public uint Property { readonly get; set; }

Property Value

uint

TableIndex

Gets or sets the index of the table that this row is stored in.

public TableIndex TableIndex { get; }

Property Value

TableIndex

Methods

Equals(PropertyPointerRow)

public bool Equals(PropertyPointerRow other)

Parameters

other PropertyPointerRow

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

FromReader(ref BinaryStreamReader, TableLayout)

Reads a single property pointer row from an input stream.

public static PropertyPointerRow FromReader(ref BinaryStreamReader reader, TableLayout layout)

Parameters

reader BinaryStreamReader

The input stream.

layout TableLayout

The layout of the property pointer table.

Returns

PropertyPointerRow

The row.

GetEnumerator()

public IEnumerator<uint> GetEnumerator()

Returns

IEnumerator<uint>

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Write(BinaryStreamWriter, TableLayout)

Writes the row to an output stream.

public void Write(BinaryStreamWriter writer, TableLayout layout)

Parameters

writer BinaryStreamWriter

The output stream writer.

layout TableLayout

The new layout of the table.

Operators

operator ==(PropertyPointerRow, PropertyPointerRow)

Determines whether two rows are considered equal.

public static bool operator ==(PropertyPointerRow left, PropertyPointerRow right)

Parameters

left PropertyPointerRow
right PropertyPointerRow

Returns

bool

operator !=(PropertyPointerRow, PropertyPointerRow)

Determines whether two rows are not considered equal.

public static bool operator !=(PropertyPointerRow left, PropertyPointerRow right)

Parameters

left PropertyPointerRow
right PropertyPointerRow

Returns

bool