https://bugzilla.novell.com/show_bug.cgi?id=382986
Summary: Protected internal method incorrectly inaccessible to
generic object instance
Product: Mono: Runtime
Version: 1.9.0
Platform: Other
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: generics
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: ---
Created an attachment (id=209972)
--> (https://bugzilla.novell.com/attachment.cgi?id=209972)
Test solution with a class library project and a console app project
1. Download the attached sample solution.
2. Open the MethodTest.sln, build and run it in MS.NET. You will see "Success!"
in the console.
3. Now run MethodTest.exe under Mono.
4. ---> You get an exception:
Unhandled Exception: System.MethodAccessException: Method `MethodTest.Foo:Test
()' is inaccessible from method `Meth.Bar:RunTest (MethodTest.Foo)'
at MethodTest.Program.Main (System.String[] args) [0x00000]
--
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