Appendix B

image

Metadata Tables Reference

Table: Entry Types

Type

Description

BYTE

Unsigned 1-byte integer

SHORT

Signed 2-byte integer

USHORT

Unsigned 2-byte integer

ULONG

Unsigned 4-byte integer

RID: <table>

Record index to <table>

STRING

Offset in the #Strings stream

GUID

Offset in the #GUID stream

BLOB

Offset in the #Blob stream

<coded_token_type>

Coded token, such as TypeDefOrRef (see the “Coded Token Types” table at the end of the appendix)

Table: Module; RID Type: 00; Token Type: 0x00000000; Metadata (MD) Streams: #~, #-

Entry Name

Entry Type

Comments

Generation

USHORT

For edit-and-continue

Name

STRING ...

Get .NET IL Assembler now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.