[Mono-bugs] [Bug 52477][Wis] New - We accept dual decls of an operator with the same params

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Dec 2003 00:27:16 -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=52477

--- shadow/52477	2003-12-23 00:27:16.000000000 -0500
+++ shadow/52477.tmp.12217	2003-12-23 00:27:16.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 52477
+Product: Mono/Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: We accept dual decls of an operator with the same params
+
+We are accepting 
+
+	class C {
+		public static bool operator != (C a, C b) 
+		{
+			return true;
+		}
+		
+		public static bool operator != (C a, C b) 
+		{
+			return true;
+		}
+		
+		public static bool operator == (C A, C B) 
+		{
+			return true;
+		}
+	}