[Mono-bugs] [Bug 372406] New: Cannot execute a static delegat to a private method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 19 12:02:42 EDT 2008


           Summary: Cannot execute a static delegat to a private method
           Product: Mono: Runtime
           Version: 1.9.0
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rook at roo.k.pl
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=202962)
 --> (https://bugzilla.novell.com/attachment.cgi?id=202962)
Test case

The code in the attachment upon Execution on mono 1.9.0 preview 4

Unhandled Exception: System.MethodAccessException: Method `Foo:Bar (int)' is
inaccessible from method `(wrapper delegate-invoke)
System.MulticastDelegate:invoke_int_Foo_int (Foo,int)'

  at Foo.Baz (Int32 a) [0x00000]
  at Foo.Main (System.String[] args) [0x00000]

The same executable works fine when executed under Windows.

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