[Mono-devel-list] [PATCH] Implementation for ReflectionOnlyLoad methods

Paolo Molaro lupus at ximian.com
Wed Jan 19 11:15:37 EST 2005


On 01/19/05 Zoltan Varga wrote:
> > I don't see any need to duplicate the hashtables that holds assemblies
> > for the metadata-only ones. Just use the same data structures as
> > the normal assemblies and tag metadata-only assemblies with a boolean or
> > bit in MonoImage. You'll need to check this flag in the current codepaths,
> > of course.
> > 
> 
> ReflectionOnly assemblies are supposed to be completely separate from normal
> assemblies, i.e. you could have the same assembly loaded as reflection-only and
> non-reflection-only. This means that they can't be stored in the same tables.

You just need the hash and equals functions used for the hash to take into 
account the refonly flag.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list