Given the scarceness of your questions it's hard to figure out exactly
what it is you're asking. If you want an AssemblyDefinition from a
TypeReference, Greg is right and you can indeed Resolve the
TypeReference and get its .Module.Assembly.

If you want an AssemblyNameReference, you need to check the .Scope of
the TypeReference, which can be a ModuleDefinition or an
AssemblyNameReference.

Jb

On Mon, Dec 23, 2013 at 8:36 AM, AndreiF <[email protected]> wrote:
> How do I get a reference to assembly containing the target type of the
> TypeReference?
>
> --
> --
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to