[Mono-bugs] [Bug 77402][Nor] Changed - anonymous method miscompilation with no inferred delegate type

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jan 30 12:31:50 EST 2006


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 miguel at ximian.com.

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

--- shadow/77402	2006-01-30 07:00:15.000000000 -0500
+++ shadow/77402.tmp.31472	2006-01-30 12:31:50.000000000 -0500
@@ -1,17 +1,17 @@
 Bug#: 77402
 Product: Mono: Compilers
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
-AssignedTo: rharinath at novell.com                            
+AssignedTo: miguel at ximian.com                            
 ReportedBy: lupus at ximian.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: anonymous method miscompilation with no inferred delegate type
@@ -30,6 +30,12 @@
 is not valid C# code, but if it is valid it should compile to correct code:-).
 Also, when assigning an anon method expression to object or to Delegate etc,
 the error could be improved: it currently says:
 Cannot implicitly convert type anonymous method to `System.Delegate'
 Maybe it should tell that the assignment or the context should make clear
 what the target delegate type is.
+
+------- Additional Comments From miguel at ximian.com  2006-01-30 12:31 -------
+The error produced by CSC is cs0023: operator '.' can not be applied
+to  operand of type 'anonymous method'.
+
+I will look into this


More information about the mono-bugs mailing list