Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 1.86 KB

ii.22.24-manifestresource-0x28.md

File metadata and controls

39 lines (20 loc) · 1.86 KB

II.22.24 ManifestResource: 0x28

The ManifestResource table has the following columns:

  • Offset (a 4-byte constant)

  • Flags (a 4-byte bitmask of type ManifestResourceAttributes, §II.23.1.9)

  • Name (an index into the String heap)

  • Implementation (an index into a File table, a AssemblyRef table, or null; more precisely, an ImplementationII.24.2.6) coded index)

The Offset specifies the byte offset within the referenced file at which this resource record begins. The Implementation specifies which file holds this resource.

The rows in the table result from .mresource directives on the Assembly (§II.6.2.2).

This contains informative text only.

  1. The ManifestResource table can contain zero or more rows

  2. Offset shall be a valid offset into the target file, starting from the Resource entry in the CLI header [ERROR]

  3. Flags shall have only those values set that are specified [ERROR]

  4. The VisibilityMaskII.23.1.9) subfield of Flags shall be one of Public or Private [ERROR]

  5. Name shall index a non-empty string in the String heap [ERROR]

  6. Implementation can be null or non-null (if null, it means the resource is stored in the current file)

  7. If Implementation is null, then Offset shall be a valid offset in the current file, starting from the Resource entry in the CLI header [ERROR]

  8. If Implementation is non-null, then it shall index a valid row in the File or AssemblyRef table [ERROR]

  9. There shall be no duplicate rows, based upon Name [ERROR]

  10. If the resource is an index into the File table, Offset shall be zero [ERROR]

End informative text.