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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 7 Feb 2004 12:49:33 -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 miguel@ximian.com.

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

--- shadow/52477	2004-02-07 12:49:33.000000000 -0500
+++ shadow/52477.tmp.21731	2004-02-07 12:49:33.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 52477
+Product: Mono/Compilers
+Version: unspecified
+OS: unknown
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+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;
+		}
+	}