Table of Contents

Interface IMetadataTableBuffer<TRow>

Namespace
AsmResolver.DotNet.Builder.Metadata
Assembly
AsmResolver.DotNet.dll

Provides members for constructing a new metadata table.

public interface IMetadataTableBuffer<TRow> : IMetadataTableBuffer where TRow : struct, IMetadataRow

Type Parameters

TRow

The type of rows the table stores.

Inherited Members

Properties

this[uint]

Gets or sets a row in the metadata table.

TRow this[uint rid] { get; set; }

Parameters

rid uint

The identifier of the metadata row.

Property Value

TRow

Methods

EnsureCapacity(int)

Ensures the capacity of the table buffer is at least the provided amount of elements.

void EnsureCapacity(int capacity)

Parameters

capacity int

The number of elements to store.

GetRowRef(uint)

Gets or sets a reference to a row in the metadata table.

ref TRow GetRowRef(uint rid)

Parameters

rid uint

The identifier of the metadata row.

Returns

TRow