El lun, 13-01-2003 a las 18:57, kojoadams escribi�:
> With .net Type.GetType seems to only load types that are in the corlib
> or in the running assembly, while mono's will load any type that is in
> the is in assembly in MONO_PATH.
>  
> eg
>  
> using System;
> public class Driver{
>     public static void Main(){
>         //type will be null in .net System.Uri is in System.dll
>         //   but won't on mono
>         Type type = Type.GetType("System.Uri");
>     }
> }

You are right. Type.GetType should only look for the Type (if not fully
qualified) in the calling assembly and in corlib. Currently it searches
all the loaded assemblies.

I'll fix it.

Thanks.

-Gonzalo



_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to