You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.199
Former-commit-id: f4d318e4b2f128fa9f4d31b37bb3839a3fc0dfb2
This commit is contained in:
parent
536cd135cc
commit
5924117973
@@ -499,7 +499,7 @@ namespace System
|
||||
|
||||
m = Method;
|
||||
|
||||
return (m != null ? m.GetHashCode () : GetType ().GetHashCode ()) ^ (m_target != null ? m_target.GetHashCode () : 0);
|
||||
return (m != null ? m.GetHashCode () : GetType ().GetHashCode ()) ^ RuntimeHelpers.GetHashCode (m_target);
|
||||
}
|
||||
|
||||
protected virtual MethodInfo GetMethodImpl ()
|
||||
|
||||
@@ -49,9 +49,15 @@ namespace MonoTests.System.Globalization
|
||||
|
||||
c = CultureInfo.InvariantCulture;
|
||||
Assert.AreEqual (2, c.NumberFormat.CurrencyDecimalDigits, "#3");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AllCulturesCanParseNegativeNumber ()
|
||||
{
|
||||
foreach (var c in CultureInfo.GetCultures (CultureTypes.AllCultures))
|
||||
{
|
||||
int.Parse ("-1", c);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1258,7 +1258,7 @@ namespace MonoTests.System.Threading.Tasks
|
||||
{
|
||||
var t = Task.Delay (300);
|
||||
Assert.IsTrue (TaskStatus.WaitingForActivation == t.Status || TaskStatus.Running == t.Status, "#1");
|
||||
Assert.IsTrue (t.Wait (400), "#2");
|
||||
Assert.IsTrue (t.Wait (1200), "#2");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user