[corlib] AssemblyName.CultureName now matches .NET
commitede30182428fd86eaef996204062e22f934c7b58
authorMarcos Henrich <marcos.henrich@xamarin.com>
Thu, 28 May 2015 09:42:17 +0000 (28 10:42 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Thu, 28 May 2015 09:42:17 +0000 (28 10:42 +0100)
tree1e3b0fe912d490f7e1e98c751af2a1a66772bf72
parentcb88bd4ba9532ba03f4810b34f70b1674ae7ef8f
[corlib] AssemblyName.CultureName now matches .NET

AssemblyName.CultureName was returning "neutral" for invariant culture
info whereas .NET returns "".

This was causing problems in Roslyn while comparing assemblies with
an empty culture name against references that would have culture name
set to "neutral".

Fixes #30502.
mcs/class/corlib/System.Reflection/AssemblyName.cs