It's the piece of code responsible for the logic of telling to which
AssemblyDefinition maps a reference. The default one is a caching one,
but sometimes you'll want to have better of control the logic.

The easiest way to start is to maintain one instance of a default resolver:

var resolver = new DefaultAssemblyResolver();

And pass it when reading assemblies:

ModuleDefinition.ReadModule(file, new ReaderParameters {
AssemblyResolver = resolver });

Jb

On Mon, Mar 17, 2014 at 10:41 PM, Yves Goergen <[email protected]> wrote:
> Am Montag, 17. März 2014 22:00:07 UTC+1 schrieb Jb Evain:
>>
>> If you maintain your own assembly resolver, you can control this. That's
>> also what the linker is doing to use Cecil objects as keys of dictionary.
>
>
> I just failed to find out what an assembly resolver is. Where can I get one,
> and what does it do?
>
> --
> --
> --
> 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/d/optout.

-- 
-- 
--
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/d/optout.

Reply via email to