[Mono-bugs] [Bug 76597][Wis] New - anonymous method seems to be
public
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sun Oct 30 10:26:27 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 ats at cs.rit.edu.
http://bugzilla.ximian.com/show_bug.cgi?id=76597
--- shadow/76597 2005-10-30 10:26:27.000000000 -0500
+++ shadow/76597.tmp.9500 2005-10-30 10:26:27.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 76597
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details: Panther
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: ats at cs.rit.edu
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: anonymous method seems to be public
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+gmcs produces CS0050 and CS0051 errors when compiling <http://www.cs.rit.edu/~ats/
+cs-2005-1/code/adt/tree/Set.cs>. The file compiles and executes properly on VS 2005 beta 2
+and I do not believe that the errors are warranted.
+
+Steps to reproduce the problem:
+1. gmcs /m:Axel.ADT.Tree.SetTest Set.cs ../IContainer.cs ../Test.cs
+2.
+3.
+
+Actual Results:
+Set.cs(116,32): error CS0050: Inconsistent accessibility: return type
+`Axel.ADT.Tree.Set<Element>.Node' is less accessible than method
+`Axel.ADT.Tree.Set`1.<#AnonymousMethod>0()'
+Internal(1,1):: `Set<Element>.Node' (name of symbol related to previous error
+Set.cs(119,33): error CS0051: Inconsistent accessibility: parameter type
+`Axel.ADT.Tree.Set<Element>.Node' is less accessible than method
+`Axel.ADT.Tree.Set`1.<#AnonymousMethod>1(Axel.ADT.Tree.Set<Element>.Node)'
+Set.cs(127,29): error CS0051: Inconsistent accessibility: parameter type
+`Axel.ADT.Tree.Set<Element>.Node' is less accessible than method
+`Axel.ADT.Tree.Set`1.<#AnonymousMethod>2(Axel.ADT.Tree.Set<Element>.Node)'
+Compilation failed: 3 error(s), 0 warnings
+
+Expected Results:
+no errors
+
+How often does this happen?
+always
+
+Additional Information:
+the other files can be found relative to the link given above.
More information about the mono-bugs
mailing list