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 Implementation (§II.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.
-
The ManifestResource table can contain zero or more rows
-
Offset shall be a valid offset into the target file, starting from the Resource entry in the CLI header [ERROR]
-
Flags shall have only those values set that are specified [ERROR]
-
The
VisibilityMask
(§II.23.1.9) subfield of Flags shall be one ofPublic
orPrivate
[ERROR] -
Name shall index a non-empty string in the String heap [ERROR]
-
Implementation can be null or non-null (if null, it means the resource is stored in the current file)
-
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]
-
If Implementation is non-null, then it shall index a valid row in the File or AssemblyRef table [ERROR]
-
There shall be no duplicate rows, based upon Name [ERROR]
-
If the resource is an index into the File table, Offset shall be zero [ERROR]
End informative text.