https://bugzilla.novell.com/show_bug.cgi?id=459952
Summary: Incorrect compiler error when aliasing types shared by a
friend assembly
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: openSUSE 11.0
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
If you alias an internal type nested in a public class of a friend assembly,
gmcs r121533 and in 1.9.1 gives the following compile error when .NET 3.5 csc
does not.
b...@blackbird:~/Shared/internals-test$ gmcs
/reference:cs_friend_assemblies.dll /out:cs_friend_assemblies_2.exe
cs_friend_assemblies2.cs
cs_friend_assemblies2.cs(5,25): error CS0122: `Blah.Class2.Citrus' is
inaccessible due to its protection level
Compilation failed: 1 error(s), 0 warnings
See attached test cases.
--
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