You've already forked linux-packaging-mono
Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
This commit is contained in:
parent
a569aebcfd
commit
e79aa3c0ed
File diff suppressed because it is too large
Load Diff
@@ -59,7 +59,6 @@ namespace System.Globalization
|
||||
[NonSerialized]
|
||||
int default_calendar_type;
|
||||
bool m_useUserOverride;
|
||||
[NonSerialized]
|
||||
internal volatile NumberFormatInfo numInfo;
|
||||
internal volatile DateTimeFormatInfo dateTimeInfo;
|
||||
volatile TextInfo textInfo;
|
||||
@@ -639,7 +638,7 @@ namespace System.Globalization
|
||||
numInfo = (NumberFormatInfo) numInfo.Clone ();
|
||||
}
|
||||
|
||||
textInfo = CreateTextInfo (read_only);
|
||||
textInfo = TextInfo.Invariant;
|
||||
|
||||
m_name=String.Empty;
|
||||
englishname=
|
||||
@@ -742,6 +741,9 @@ namespace System.Globalization
|
||||
|
||||
public static CultureInfo GetCultureInfo (int culture)
|
||||
{
|
||||
if (culture < 1)
|
||||
throw new ArgumentOutOfRangeException ("culture", "Positive number required.");
|
||||
|
||||
CultureInfo c;
|
||||
|
||||
lock (shared_table_lock){
|
||||
|
||||
Reference in New Issue
Block a user