[Mono-bugs] [Bug 75009][Nor] New - static protected member
accessible by any class
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 20 14:01:40 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 pisanko at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75009
--- shadow/75009 2005-05-20 14:01:40.000000000 -0400
+++ shadow/75009.tmp.17326 2005-05-20 14:01:40.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 75009
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: Ubuntu 5.04
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: pisanko at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: static protected member accessible by any class
+
+Following piece of code builds without any problem on my system, version of
+Mono is 1.1.7.
+
+Same piece of code gives accessability error for C.M(); call on .NET 1.1
+
+--- cut here ---
+using System;
+
+namespace Bug
+{
+ public class C
+ {
+ protected static void M()
+ {
+ }
+ }
+
+ class ConsoleApplication
+ {
+ [STAThread]
+ static void Main(string[] args)
+ {
+
+ C.M();
+ }
+ }
+}
+--- cut here ---
More information about the mono-bugs
mailing list