[Mono-bugs] [Bug 57245][Wis] New - CS1595 (duplicate class definitions) not caught and flagged
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 19 Apr 2004 20:57:57 -0400 (EDT)
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 gregory.junker@shockwaveaudio.com.
http://bugzilla.ximian.com/show_bug.cgi?id=57245
--- shadow/57245 2004-04-19 20:57:57.000000000 -0400
+++ shadow/57245.tmp.8194 2004-04-19 20:57:57.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 57245
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details: FC 1.90 k=2.6.4
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: Gregory.Junker@shockwaveaudio.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: CS1595 (duplicate class definitions) not caught and flagged
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+"mcs" does not correctly flag CS1595 (class defined in multiple assemblies)
+when discovered.
+
+
+Steps to reproduce the problem:
+1. Define same namespace/class in two different assemblies.
+2. Use that namespace/class in another class.
+3.
+
+Actual Results:
+
+mcs does not complain about duplicate definitions at compile time. Mono CLR
+does not complain about duplicate definitions at runtime, and which
+definition (assembly) is actually used, is undefined.
+
+Expected Results:
+
+"mcs" should have caught the problem and flagged a CS1595, and the CLR
+should have caught it at runtime and complained.
+
+How often does this happen?
+
+Every time.
+
+Additional Information: