[Mono-bugs] [Bug 62968][Nor] Changed - mcs doesn't give CS0038 for nonstatic members of base outer class.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 30 Dec 2004 09:15:45 -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 duncan@ximian.com.

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

--- shadow/62968	2004-10-01 16:42:09.000000000 -0400
+++ shadow/62968.tmp.31384	2004-12-30 09:15:45.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 62968
 Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: cleonard@go.ro               
 QAContact: mono-bugs@ximian.com
@@ -76,6 +76,38 @@
 
 Additional Information: This is mcs 1.0
 
 ------- Additional Comments From jluke@cfl.rr.com  2004-10-01 16:42 -------
 This works on the 1.1 branch, so it can be closed if someone can test
 it on the 1.0 branch.
+
+------- Additional Comments From duncan@ximian.com  2004-12-30 09:15 -------
+This is fixed in 1.0.5.
+
+polysemy:~ $ more 62968.cs
+public class A
+{
+    public int X;
+}
+ 
+public class B: A
+{
+    public class C
+    {
+        public void Error()
+        {
+            ++X;
+        }
+    }
+}
+ 
+public class Test
+{
+    public static void Main()
+    {
+        new B.C().Error();
+    }
+}
+polysemy:~ $ mcs --version
+Mono C# compiler version 1.0.5.0
+polysemy:~ $ mcs 62968.cs
+Compilation succeeded