[Mono-bugs] [Bug 35856][Min] Changed - Missing `Inconsistent accessibility' warning
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
18 Dec 2002 18:22:01 -0000
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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=35856
--- shadow/35856 Wed Dec 18 13:20:22 2002
+++ shadow/35856.tmp.25890 Wed Dec 18 13:22:01 2002
@@ -1,10 +1,10 @@
Bug#: 35856
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
Severity: 002 Two hours
Priority: Minor
Component: Misc
@@ -14,6 +14,29 @@
TargetMilestone: ---
URL:
Cc:
Summary: Missing `Inconsistent accessibility' warning
Creating meta-bugreport for this.
+
+------- Additional Comments From martin@ximian.com 2002-12-18 13:22 -------
+// cs0050.cs: Inconsistent accessibility. Return type less accessible
+than method.
+// Line: 7
+
+using System;
+
+class Foo {
+ public static Foo Bar () {
+ return new Foo ();
+ }
+
+ public static void Main () {
+ Foo x = Bar ();
+ }
+}
+
+
+
+
+
+