[Mono-bugs] [Bug 338242] generated class files declare possibly conflicting protected members

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 31 19:21:46 EDT 2007


Marek Habersack <mhabersack at novell.com> changed:

           What    |Removed                                         |Added
                 CC|                                                |mhabersack at novell.com
         AssignedTo|mhabersack at novell.com                           |mono-bugs at ximian.com
          Component|Sys.Web                                         |C#
            Product|Mono: Class Libraries                           |Mono: Compilers

--- Comment #9 from Marek Habersack <mhabersack at novell.com>  2007-10-31 17:21:44 MST ---
    The problem isn't in the generated class including the ApplicationInstance
    property, the problem lies in gmcs. I'm reassigning the bug to the compiler
    attaching a test case that shows the bug. The attached code compiles fine
    ms.net, fails with the following error on mono:

    > gmcs -pkg:dotnet -target:library t.cs 
    t.cs(17,42): error CS0507: `ChildClass.ApplicationInstance.get': cannot
    access modifiers when overriding `internal' inherited member
    t.cs(10,5): (Location of the symbol related to previous error)
    t.cs(17,42): warning CS0108: `ChildClass.ApplicationInstance' hides
    member `Test.ApplicationInstance'. Use the new keyword if hiding was
    t.cs(10,5): (Location of the symbol related to previous warning)
    Compilation failed: 1 error(s), 1 warnings

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list