[Mono-bugs] [Bug 34414][Nor] New - MCS doesn't handle method visibility in subclasses

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
21 Nov 2002 15:14:40 -0000


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 crichton@gimp.org.

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

--- shadow/34414	Thu Nov 21 10:14:40 2002
+++ shadow/34414.tmp.11191	Thu Nov 21 10:14:40 2002
@@ -0,0 +1,57 @@
+Bug#: 34414
+Product: Mono/MCS
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: crichton@gimp.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS doesn't handle method visibility in subclasses
+
+The following code compiles on CSC, on MCS, we get an error that Array
+isn't accessible.
+
+namespace Mapack
+{
+        using System;
+        using System.Text;
+
+        public class Matrix
+        {
+                double[][] data;
+                int rows;
+                int columns;
+        
+                public Matrix()
+                {
+                }
+        
+                double[][] Array
+                {
+                        get { return data; }
+                }
+        
+                class CholeskyDecomposition
+                {
+                        Matrix L;
+                        bool isSymmetric;
+                        bool isPositiveDefinite;
+                
+                        public CholeskyDecomposition(Matrix A)
+                        {
+                                L = new Matrix();
+                                                
+                                double[][] a = A.Array;
+                                double[][] l = L.Array;
+                        }
+                }
+        }
+}