[Mono-bugs] [Bug 75894][Nor] Changed - [GMCS] Generics compiler doesn't access private properties

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 13 06:26:03 EDT 2005


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 norbert.groen at getronics.com.

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

--- shadow/75894	2005-09-05 13:05:15.000000000 -0400
+++ shadow/75894.tmp.6602	2005-09-13 06:26:03.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 75894
 Product: Mono: Compilers
 Version: 1.1
 OS: unknown
-OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+OS Details: Windows 2000
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: martin at ximian.com                            
 ReportedBy: norbert.groen at getronics.com               
 QAContact: mono-bugs at ximian.com
@@ -91,6 +91,26 @@
 Created an attachment (id=15630)
 Testfile with private method in generic class
 
 
 ------- Additional Comments From martin at ximian.com  2005-09-05 13:05 -------
 Works for me.
+
+------- Additional Comments From norbert.groen at getronics.com  2005-09-13 06:26 -------
+Martin,
+
+The attached source works indeed, I forgot to change it to the non-
+working version.
+Please change the source to use the private instead of the protected 
+version:
+     private int slack { get{ return v.Length-b; } }
+//   protected int slack { get{ return v.Length-b; } }
+
+Does that still work for you?
+Mind you, I'm using the 1.1.5.0 version of gmcs from the 1.1.8.3 mono-
+package for windows (on win2000 platform).
+
+gr,
+
+Norbert.
+
+


More information about the mono-bugs mailing list