[Mono-bugs] [Bug 64698][Nor] New - Compile Failure: new Thread (X).Start ();

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 31 Aug 2004 00:26:23 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=64698

--- shadow/64698	2004-08-31 00:26:23.000000000 -0400
+++ shadow/64698.tmp.14981	2004-08-31 00:26:23.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 64698
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compile Failure: new Thread (X).Start ();
+
+For some reason, method group conversions are not working here:
+using System;
+using System.Threading;
+
+class A {
+	static void X () {
+		Console.WriteLine ("Hello, from a new thread");
+	}
+	static void Main () {
+		new Thread (X).Start ();
+	}
+}