[Mono-dev] Patch: Don't throw exception when loading a resourceset

Rodrigo Kumpera kumpera at gmail.com
Tue Jan 13 06:12:20 EST 2009


Are these changes covered by tests? Is FileNotFoundException really the
exception to thrown?
Why do you have to change the ResourceSets key from Culture to Culture.Name?



2009/1/13 Gonzalo Paniagua Javier <gonzalo.mono at gmail.com>

> The code in ResourceManager.cs uses GetSatelliteAssembly() when loading
> a resource for a culture that is not yet cached and this throws an
> exception if the satellite assembly is not there.
>
> The attached patch avoids throwing an exception in that case.
>
> Any objections?
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090113/5a45bc12/attachment.html 


More information about the Mono-devel-list mailing list