[Mono-bugs] [Bug 53413][Nor] New - mcs, unlike csc, gives CS0121 and CS8006 in CodeGroup.cs
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jan 2004 13:42:10 -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 spouliot@videotron.ca.
http://bugzilla.ximian.com/show_bug.cgi?id=53413
--- shadow/53413 2004-01-27 13:42:10.000000000 -0500
+++ shadow/53413.tmp.28017 2004-01-27 13:42:10.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 53413
+Product: Mono/Compilers
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: spouliot@videotron.ca
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs, unlike csc, gives CS0121 and CS8006 in CodeGroup.cs
+
+/mcs/class/corlib/System.Security.Policy/CodeGroup.cs
+in method Equals (around line 125)
+
+Originally I tried this line:
+if (!cg.MembershipCondition.Equals (m_membershipCondition))
+
+which compiled with csc but not mcs. So I changed it to:
+if (cg.MembershipCondition.ToString () != m_membershipCondition.ToString ())
+
+which compiled with csc and mcs 0.28.0.0* (under RH9). However this line
+didn't compile with the lastest (CVS) version of mcs.
+
+* actually only mono 0.29 was installed (wrong version is shown).
+
+Gonzalo changed the line to something that compiles with the current mcs
+(as well as csc).