[Mono-bugs] [Bug 81636][Nor] New - Delegate comparison is not verified
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue May 15 18:04:19 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 marek.safar at seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=81636
--- shadow/81636 2007-05-15 18:04:19.000000000 -0400
+++ shadow/81636.tmp.6157 2007-05-15 18:04:19.000000000 -0400
@@ -0,0 +1,55 @@
+Bug#: 81636
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: marek.safar at seznam.cz
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Delegate comparison is not verified
+
+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.
+
+using System;
+
+public class Test
+{
+ public delegate int DelegateA(bool b);
+ public delegate int DelegateB(bool b);
+
+ static bool TestCompare (DelegateA a, DelegateB b)
+ {
+ return a == b;
+ }
+}
+
+
+Actual Results:
+
+No error.
+
+
+Expected Results:
+
+cCS0019: Operator `==' cannot be applied to operands of type
+`Test.DelegateA' and `Test.DelegateB'
+
+
+How often does this happen?
+
+
+Additional Information:
More information about the mono-bugs
mailing list