[Mono-bugs] [Bug 75155][Wis] Changed - Bad mcs error message when passing method in as delegate parameter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 4 12:11:55 EDT 2005

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 joeshaw at novell.com.


--- shadow/75155	2005-06-04 11:36:18.000000000 -0400
+++ shadow/75155.tmp.5661	2005-06-04 12:11:55.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 75155
 Product: Mono: Compilers
 Version: 1.0
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: dsd at gentoo.org               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
-Summary: Can't compile code with delegates as function parameters
+Summary: Bad mcs error message when passing method in as delegate parameter
 Mono 1.0.6 refuses to compile code which has delegates in the function
 parameters. It incorrectly reports that no method with that number of
 arguments is available.
 When I compile this test case:
@@ -30,6 +30,11 @@
 This problem is specific to Mono 1.0.6, it works fine with 1.1.x.
 ------- Additional Comments From dsd at gentoo.org  2005-06-04 11:36 -------
 Created an attachment (id=15269)
 Testcase -- does not compile
+------- Additional Comments From joeshaw at novell.com  2005-06-04 12:11 -------
+The issue here is that SomeFunc is a method and not a delegate.  The
+automatic wrapping of a method in the appropriate delegate is a C# 2.0
+feature and not implemented in mono 1.0.x branch.

More information about the mono-bugs mailing list