[Mono-bugs] [Bug 347174] Neutral language assemblies are loaded as language-specifc

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 9 10:59:11 EST 2007


User gert.driesen at pandora.be added comment

--- Comment #6 from Gert Driesen <gert.driesen at pandora.be>  2007-12-09 08:59:11 MST ---
I've attached a patch which fixes this issue. In this match I also made use the
ReadOnly and UseUserOverride properties of the CultureInfo match those of MS.

All changes are covered by improvements to the AssemblyName unit tests.

The patch works fine as it is, but I had actually hope to only introduce a
single method called CultureInfo.CreateCulture (see patch), and pass a bool to
it indicating whether the CultureInfo is constructed for an assembly, or for
AssemblyName instances returned by Assembly.GetReferenceAssemblies.

I thought this was going to be a very simple change:

1. Change the signature of the method to invoke to:
2. Change the size of the args to 2.
3. Set args[2] to TRUE or FALSE depending on the context.

However, this never worked for me. Can someone shed some light on this, as this
will allow me to remove the newly introduced CultureInfo.CreateAssemblyCulture
and CultureInfo.CreateReferenceCulture methods?


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list