https://bugzilla.novell.com/show_bug.cgi?id=360820
Summary: Invalid (?) CS0545 error -- hiding accessors from
grandparent
Product: Mono: Compilers
Version: SVN
Platform: x86
OS/Version: Ubuntu
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs