[Mono-bugs] [Bug 459952] New: Incorrect compiler error when aliasing types shared by a friend assembly
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Dec 17 15:51:16 EST 2008
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: mono-bugs at lists.ximian.com
ReportedBy: btaylor1 at novell.com
QAContact: mono-bugs at lists.ximian.com
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.
brad at 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.
More information about the mono-bugs
mailing list