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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80338 --- shadow/80338 2006-12-21 16:22:28.000000000 -0500 +++ shadow/80338.tmp.13077 2006-12-21 16:22:28.000000000 -0500 @@ -0,0 +1,46 @@ +Bug#: 80338 +Product: Mono: Compilers +Version: 1.2 +OS: All +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: C# +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: CS0053 error is not reported for inconsistent accessibility + +mcs (and gmcs) do not report CS0053 for the following code fragment: + +namespace MonoTests.System.ComponentModel +{ + public class PropertyDescriptorTests + { + class MissingConverterType_test + { + class NestedClass { } + + public NestedClass Prop { + get { return null; } + } + } + } +} + +Actual result: + +Successful compilation. + +Expected result: + +test.cs(9,23): error CS0053: Inconsistent accessibility: property type + 'MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingCo +nverterType_test.NestedClass' is less accessible than property + 'MonoTests.System.ComponentModel.PropertyDescriptorTests.MissingCo +nverterType_test.Prop' _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
