Author: gert
Date: 2007-05-16 12:44:43 -0400 (Wed, 16 May 2007)
New Revision: 77488

Modified:
   trunk/mcs/class/corlib/Test/System.Threading/ChangeLog
   trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
Log:
 * ThreadTest.cs: Fix build using csc 1.x.


Modified: trunk/mcs/class/corlib/Test/System.Threading/ChangeLog
===================================================================
--- trunk/mcs/class/corlib/Test/System.Threading/ChangeLog      2007-05-16 
16:35:40 UTC (rev 77487)
+++ trunk/mcs/class/corlib/Test/System.Threading/ChangeLog      2007-05-16 
16:44:43 UTC (rev 77488)
@@ -1,6 +1,10 @@
+2007-05-16  Gert Driesen  <[EMAIL PROTECTED]>
+
+       * ThreadTest.cs: Fix build using csc 1.x.
+
 2007-05-09  Jonathan Chambers  <[EMAIL PROTECTED]>
 
-       * Thread.cs: Add ApartmentState related tests.
+       * ThreadTest.cs: Add ApartmentState related tests.
 
 2007-04-03  Gert Driesen  <[EMAIL PROTECTED]>
 

Modified: trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs
===================================================================
--- trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs  2007-05-16 
16:35:40 UTC (rev 77487)
+++ trunk/mcs/class/corlib/Test/System.Threading/ThreadTest.cs  2007-05-16 
16:44:43 UTC (rev 77488)
@@ -655,9 +655,9 @@
                [Test]
                public void TestApartmentState ()
                {
-                       Thread t1 = new Thread (Start);
-                       Thread t2 = new Thread (Start);
-                       Thread t3 = new Thread (Start);
+                       Thread t1 = new Thread (new ThreadStart (Start));
+                       Thread t2 = new Thread (new ThreadStart (Start));
+                       Thread t3 = new Thread (new ThreadStart (Start));
 
                        Assert ("Thread1 Default", t1.ApartmentState == 
ApartmentState.Unknown);
                        Assert ("Thread2 Default", t2.ApartmentState == 
ApartmentState.Unknown);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to