[mono/mono] 6b71c737: Fix net_2_0 test.

"Rodrigo Kumpera ([email protected])" <[email protected]>
Newsgroups gmane.comp.gnome.mono.patches
Message-ID <000001419e2911d3-73bf88ef-6ce1-41be-8380-5ff9b0ecf408-000000@email.amazonses.com>
   Branch: refs/heads/master
     Home: https://github.com/mono/mono
  Compare: https://github.com/mono/mono/compare/4490185a8df6...6b71c737901a

   Commit: 6b71c737901a2b23b4c5a2a39d809c6a9a65870a
   Author: Rodrigo Kumpera <[email protected]> (kumpera)
     Date: 2013-10-09 16:58:44 GMT
      URL: https://github.com/mono/mono/commit/6b71c737901a2b23b4c5a2a39d809c6a9a65870a

Fix net_2_0 test.

Changed paths:
  M mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs

Modified: mcs/class/corlib/Test/System.Threading/ThreadPoolTest.cs
===================================================================
@@ -61,6 +61,7 @@ public void UnsafeQueueUserWorkItem_InvalidArguments ()
 			}
 		}
 
+#if NET_4_0
 		event WaitCallback e;
 
 		[Test]
@@ -79,5 +80,6 @@ public void UnsafeQueueUserWorkItem_MulticastDelegate ()
 			ThreadPool.UnsafeQueueUserWorkItem (e, null);
 			Assert.IsTrue (ev.Wait (3000));
 		}
+#endif
 	}
 }
\ No newline at end of file


_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.