[Mono-bugs] [Bug 74595][Nor] New - Error CS0122 resolving cref using gmcs
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 13 Apr 2005 15:42:48 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=74595
--- shadow/74595 2005-04-13 15:42:48.000000000 -0400
+++ shadow/74595.tmp.30463 2005-04-13 15:42:48.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 74595
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Error CS0122 resolving cref using gmcs
+
+When compiling the following simple code fragment using gmcs svn, while
+referencing log4net (gmcs /target:library /r:log4net.dll /doc:test.xml
+test.cs), gmcs reports error CS0122:
+
+public class Test {
+ /// <summary>
+ /// <see cref="Tag" />
+ /// </summary>
+ public string Tag {
+ get { return "whatever"; }
+ }
+}
+
+I attached a gzipped tar containing a repro. Just extract the archive and
+execute 'make'.
+
+Actual result:
+
+error CS0122: 'log4net.Plugin.PluginCollection+Tag' is inaccessible due
+to its protection level
+
+Expected result:
+
+Successful compile
+
+PS. This issue is prevent NAnt from getting built using the Mono 2.0
+profile.