From: ECMA - 335
22.3 AssemblyOS : 0x22
The AssemblyOS table has the following columns:
• OSPlatformID (a 4-byte constant)
• OSMajorVersion (a 4-byte constant)
• OSMinorVersion (a 4-byte constant)
This record should not be emitted into any PE file. However, if
present in a PE file, it shall be treated as if all
its fields were zero. It shall be ignored by the CLI.
-------------------------------------------------------

> You'll never get an instance of an AssemblyOS for instance.
All compilers for all languages may not be using this table, but
forever is a long time :)
I do not think that adding these values will break existing code but
if this table was ever found at least we would know that it is a valid
Token Type albeit one that can be ignored.
To be able to ignore it one still needs to know that it is possible.
I think these values should be there for completeness sakes.
rv



On Apr 29, 4:38 pm, Jb Evain <[email protected]> wrote:
> Hey,
>
> On 4/27/09, karan sev <[email protected]> wrote:
>
> >  There are some values missing from the TokenType enum. The following
> >  values were taken from ECMA-335, Partition II, Section 22.
>
> That doesn't really make sense, Cecil wise. TokenType are used to map
> a Cecil object to a table/row in the metadata. You'll never get an
> instance of an AssemblyOS for instance.
>
> --
> Jb Evain  <[email protected]>
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to