[Mono-bugs] [Bug 76744][Nor] New - CS0122 is not properly reported
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Nov 18 06:34:28 EST 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 marek.safar at seznam.cz.
http://bugzilla.ximian.com/show_bug.cgi?id=76744
--- shadow/76744 2005-11-18 06:34:28.000000000 -0500
+++ shadow/76744.tmp.10316 2005-11-18 06:34:28.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 76744
+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: CS0122 is not properly reported
+
+Steps to reproduce the problem:
+1.
+
+compile this to library dll (mcs 1.cs /target:library /out:1.dll)
+
+interface IFileWatcher {
+}
+
+2.
+
+compile this with reference to previous library (mcs 2.cs /r:1.dll)
+
+class C {
+ public static void Main ()
+ {
+ IFileWatcher i;
+ }
+}
+
+3.
+
+Actual Results:
+
+error CS0246: The type or namespace name `IFileWatcher' could no
+t be found. Are you missing a using directive or an assembly reference?
+Compilation failed: 1 error(s), 0 warnings
+
+Expected Results:
+
+error CS0122: 'IFileWatcher' is inaccessible due to its protection level
More information about the mono-bugs
mailing list