[Mono-bugs] [Bug 80846][Cri] New - Compiiler complains about CS0122 and CS0229, the MS compiler doesn't

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Feb 14 08:16:24 EST 2007


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 burkovsky at freenet.de.

http://bugzilla.ximian.com/show_bug.cgi?id=80846

--- shadow/80846	2007-02-14 08:16:24.000000000 -0500
+++ shadow/80846.tmp.5796	2007-02-14 08:16:24.000000000 -0500
@@ -0,0 +1,95 @@
+Bug#: 80846
+Product: Mono: Compilers
+Version: 1.2
+OS: 
+OS Details: WinXP
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: burkovsky at freenet.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Compiiler complains about CS0122 and CS0229, the MS compiler doesn't
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Take the attached project and compile it
+2. 
+3. 
+
+Actual Results:
+
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(41,26) : Error
+CS0229: Ambiguity between `Bulasoft.Common.Elements.DefaultElement.Name'
+and `Bulasoft.Common.Elements.Element.Name'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(41,26) : Error
+CS0122: `Bulasoft.Common.Elements.Element.Name' is inaccessible due to its
+protection level
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(63,26) : Error
+CS0229: Ambiguity between `Bulasoft.Common.Elements.DefaultElement.ID' and
+`Bulasoft.Common.Elements.Element.ID'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(63,26) : Error
+CS0122: `Bulasoft.Common.Elements.Element.ID' is inaccessible due to its
+protection level
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(99,20) : Error
+CS0229: Ambiguity between `Bulasoft.Common.Elements.DefaultElement.Name'
+and `Bulasoft.Common.Elements.Element.Name'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(99,20) : Error
+CS0122: `Bulasoft.Common.Elements.Element.Name' is inaccessible due to its
+protection level
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(106,20) : Error
+CS0229: Ambiguity between `Bulasoft.Common.Elements.DefaultElement.ID' and
+`Bulasoft.Common.Elements.Element.ID'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(106,20) : Error
+CS0122: `Bulasoft.Common.Elements.Element.ID' is inaccessible due to its
+protection level
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(215,37) : Error
+CS0229: Ambiguity between `Bulasoft.Common.Elements.DefaultElement.Name'
+and `Bulasoft.Common.Elements.Element.Name'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(215,37) : Error
+CS0122: `Bulasoft.Common.Elements.Element.Name' is inaccessible due to its
+protection level
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(228,27) : Error
+CS0229: Ambiguity between
+`Bulasoft.Common.Elements.DefaultElement.IsDeleted' and
+`Bulasoft.Common.Elements.Element.IsDeleted'
+C:\Documents and Settings\Laci\Dokumenty\Visual Studio
+2005\Projects\Bulasoft\common\Elements\ElementList.cs(228,27) : Error
+CS0122: `Bulasoft.Common.Elements.Element.IsDeleted' is inaccessible due to
+its protection level
+C:\Program
+Files\SharpDevelop\2.1\bin\SharpDevelop.Build.Mono.Gmcs.targets(82,9) :
+Error failed: 12 error(s), 0 warnings
+Build finished successfully.
+
+
+Expected Results:
+
+0 error(s), 0 warnings
+Build finished successfully.
+
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list