[Mono-bugs] [Bug 382986] New: Protected internal method incorrectly inaccessible to generic object instance
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Apr 23 15:57:56 EDT 2008
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: mono-bugs at lists.ximian.com
ReportedBy: jfrayne at blizzard.com
QAContact: mono-bugs at lists.ximian.com
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.
More information about the mono-bugs
mailing list