[Mono-bugs] [Bug 360820] New: Invalid (?) CS0545 error -- hiding accessors from grandparent

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Feb 11 17:58:11 EST 2008


           Summary: Invalid (?) CS0545 error -- hiding accessors from
           Product: Mono: Compilers
           Version: SVN
          Platform: x86
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cmarshall at pacificbiosciences.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=194332)
 --> (https://bugzilla.novell.com/attachment.cgi?id=194332)
Test case

I'm working from code that compiles with Visual Studio, but I'm not sure that
the example here is actually valid or not.

By my reckoning, A.Foo.get should be overrideable in C.Foo, even though B.Foo
has no getter.

getters.cs(27,28): error CS0545: `C.Foo.get': cannot override because `B.Foo'
does not have an overridable get accessor
getters.cs(17,28): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 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