[Mono-bugs] [Bug 81815][Nor] Changed - mcs allows covariance from reference to value types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 6 09:53:06 EDT 2007


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 jonpryor at vt.edu.

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

--- shadow/81815	2007-06-06 09:50:48.000000000 -0400
+++ shadow/81815.tmp.23455	2007-06-06 09:53:06.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 81815
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Debian Lenny
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: bzximian.3.crazycomputers at neverbox.com               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -34,6 +34,14 @@
 location is not trusted, and then a VerificationException is thrown.
 
 ------- Additional Comments From bzximian.3.crazycomputers at neverbox.com  2007-06-06 09:50 -------
 Created an attachment (id=19379)
 testcase
 
+
+------- Additional Comments From jonpryor at vt.edu  2007-06-06 09:53 -------
+In particular, the problem is the line:
+
+		Conv c = new Conv(int.Parse);
+
+This should not be permitted, as `int int.Parse(string)' doesn't match
+the delegate declaration `delegate object Conv (string)'.


More information about the mono-bugs mailing list