[Mono-bugs] [Bug 41880][Nor] New - MCS must forbid access to static methods in a internal class

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 24 Apr 2003 15:51:00 -0400 (EDT)


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 yoros@wanadoo.es.

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

--- shadow/41880	Thu Apr 24 15:50:59 2003
+++ shadow/41880.tmp.27285	Thu Apr 24 15:50:59 2003
@@ -0,0 +1,38 @@
+Bug#: 41880
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: yoros@wanadoo.es               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS must forbid access to static methods in a internal class
+
+Description of Problem:
+    MCS does compile access to static methods of an internal class of an
+assembly.
+
+Steps to reproduce the problem:
+1. Compile Internal.cs to an Assembly.
+2. Compile External.cs to an Executable.
+
+Actual Results:
+    Compilation succeeded
+
+Expected Results:
+    error CS0122: 'A' no es accesible debido a su nivel de protección.
+    (sorry for the langauage)
+
+How often does this happen?
+    always
+
+Additional Information:
+    The access to non-static methods is right.