[Mono-bugs] [Bug 78670][Nor] New - Missing CS0052: Inconsistent accessibility

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jun 18 15:30:23 EDT 2006


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 marek.safar at seznam.cz.

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

--- shadow/78670	2006-06-18 15:30:23.000000000 -0400
+++ shadow/78670.tmp.21860	2006-06-18 15:30:23.000000000 -0400
@@ -0,0 +1,53 @@
+Bug#: 78670
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Missing CS0052: Inconsistent accessibility
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. 
+
+public class A
+{
+	protected class B {}
+		
+	public class C
+	{
+		protected class D
+		{
+			public B b;
+		}
+	}
+}
+
+Actual Results:
+
+No error (except 5001)
+
+Expected Results:
+
+?.cs(9,13): error CS0052: Inconsistent accessibility: field type 'A.B' is
+        less accessible than field 'A.C.D.b'
+?.cs(3,18): (Location of symbol related to previous error)
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list