Hi Joachim, On Mon, Oct 4, 2010 at 1:24 PM, reichertj <[email protected]> wrote: > I'm writing a parser for the output of PeVerify. It takes the token > number from the output and looks it up via > ModuleDefinition.LookupToken. > Unfortunately, following token types are not implemented in > MetadataReader.LookupToken: > > Assembly, AssemblyRef, CustomAttribute, Event, ExportedType, File, > GenericParam, InterfaceImpl, ManifestResource, MethodSpec, Module, > ModuleRef, Param, Permission, Property, Signature, String > > Would it be possible to implement them?
Not necessarily. If they're not implemented it's because they're not trivial to implement using the fast metadata reader, of because they don't exactly map to a Cecil construct. I suggest you index what you need before hand, and use your own indexes. -- Jb EvainĀ <[email protected]> -- -- mono-cecil
