Hi Greg,
As you noted, the way LookupToken currently works is by reading data
from the Image.
When writing an assembly, Cecil is recompute the tokens. LookupToken
on a freshly written image probably won't work well, that's why you're
reading it again.
LookupToken currently supports the following tables:
TypeDef
TypeRef
TypeSpec
Field
Method
MemberRef
MethodSpec
As properties and events can't be referenced accross modules.
Jb
> --
> --
> --
> mono-cecil
> ---
> You received this message because you are subscribed to the Google Groups
> "mono-cecil" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
mono-cecil+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.