https://bugzilla.novell.com/show_bug.cgi?id=385623
Summary: Access modifier prohibits compiling in gmsc.exe when
csc.exe will compile
Product: Mono: Compilers
Version: 1.9.0
Platform: i586
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Created an attachment (id=211760)
--> (https://bugzilla.novell.com/attachment.cgi?id=211760)
sample program, protection level compiling example
Mono 1.9.1
The following condition will not compile in Mono C#, but will under .net:
* abstract base class (B) defines a property (P) as "internal"
* a class (C) derived from B redefines the same property as "protected"
Actual Result:
gmcs will not compile with the following error:
"C.P is not accessible due to its protection level"
csc.exe will compile by giving access to the base version (which is internal).
I have attached a sample program.
--
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