[Mono-bugs] [Bug 77478][Maj] New - Method to delegate conversion wrong for interface types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Feb 5 15:00:16 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 perryresearch at zoot.net.nz.

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

--- shadow/77478	2006-02-05 15:00:16.000000000 -0500
+++ shadow/77478.tmp.26119	2006-02-05 15:00:16.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 77478
+Product: Mono: Compilers
+Version: 1.1
+OS: other
+OS Details: Fedora Core 4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: perryresearch at zoot.net.nz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Method to delegate conversion wrong for interface types
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. See attched code - compile it.
+2. A method (group) can be implicitly converted to a delegate provided it is consistent (22.1)
+3. Consistency allows implicit reference conversions, so in this case for FC(M) to work there
+    must be such a conversion from C to I - there is. Mono barfs (MS does not).
+
+Actual Results:
+
+Barf.
+
+Expected Results:
+
+No barf.
+
+How often does this happen? 
+
+All the time.
+
+Additional Information:
+
+I *prefer* when you reject invalid long/int conversions early enough in this scenario so the 
+example at the end of 14.5.10.3 works under Mono but not MS - the Standard seems to be 
+wrong here. But sadly in this case you're the one to err - win some lose some...


More information about the mono-bugs mailing list