[Mono-bugs] [Bug 52492][Nor] Changed - We do not detect CS0034 in the presence of implicit conversions
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 13 Mar 2004 00:48:20 -0500 (EST)
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=52492
--- shadow/52492 2004-02-07 12:48:55.000000000 -0500
+++ shadow/52492.tmp.25199 2004-03-13 00:48:20.000000000 -0500
@@ -1,8 +1,8 @@
Bug#: 52492
-Product: Mono/Compilers
+Product: Mono: Compilers
Version: unspecified
OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: Unknown
@@ -58,6 +58,17 @@
static void Main()
{
object o = - new A ();
}
}
+
+------- Additional Comments From bmaurer@users.sf.net 2004-03-13 00:48 -------
+`The overload resolution rules of Section 7.4.2 are applied to the set
+of candidate operators to select the best operator with respect to the
+argument list (x, y), and this operator becomes the result of the
+overload resolution process. If overload resolution fails to select a
+single best operator, a compile-time error occurs.'
+
+
+7.2.4 Binary operator overload resolution
+