https://bugzilla.novell.com/show_bug.cgi?id=358374
Summary: CS0051 incorrectly reported on nested type within
generic class
Product: Mono: Compilers
Version: 1.2.6
Platform: i386
OS/Version: Ubuntu
Status: NEW
Severity: Major
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
The following code compiles correctly on Microsoft .NET but fails under Mono
1.2.6 gmcs:
// bug.cs
class C<T> {
class D {}
C(D d) {}
public C() {}
}
$gmcs bug.cs -target:library
$bug.cs(4,2): error CS0051: Inconsistent accessibility: parameter type `C<T>.D'
is less accessible than method `C<T>.C(C<T>.D)'
--
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