You've already forked linux-packaging-mono
Imported Upstream version 4.0.1.28
Former-commit-id: 7bed21f7f097faf1b23b151908aba1976234cb6e
This commit is contained in:
@ -417,11 +417,12 @@ namespace System.Globalization
|
||||
// The runtime returns a NULL in the first position of the array when
|
||||
// 'neutral' is true. We fill it in with a clone of InvariantCulture
|
||||
// since it must not be read-only
|
||||
int i = 0;
|
||||
if (neutral && infos.Length > 0 && infos [0] == null) {
|
||||
infos [0] = (CultureInfo) InvariantCulture.Clone ();
|
||||
infos [i++] = (CultureInfo) InvariantCulture.Clone ();
|
||||
}
|
||||
|
||||
for (int i = 1; i < infos.Length; ++i) {
|
||||
for (; i < infos.Length; ++i) {
|
||||
var ci = infos [i];
|
||||
infos [i].m_cultureData = CultureData.GetCultureData (ci.m_name, false, ci.datetime_index, ci.CalendarType, ci.iso2lang);
|
||||
}
|
||||
|
Reference in New Issue
Block a user