Imported Upstream version 4.8.0.520

Former-commit-id: b616177084b79e9a11491af6b1ad88f2f73a6093
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-03-15 10:36:24 +00:00
parent af08d800c3
commit dc50008e16
32 changed files with 143 additions and 821 deletions

View File

@ -27,6 +27,7 @@
//
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
@ -57,7 +58,10 @@ namespace MonoTests.System {
[Test]
public void ReRegisterForFinalizeTest ()
{
Run_ReRegisterForFinalizeTest ();
var thread = new Thread (Run_ReRegisterForFinalizeTest);
thread.Start ();
thread.Join ();
var t = Task.Factory.StartNew (() => {
do {
GC.Collect ();