[Mono-bugs] [Bug 635349] New: Invalid IL code in (wrapper delegate-invoke)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Aug 28 18:26:06 EDT 2010



           Summary: Invalid IL code in (wrapper delegate-invoke)
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: carl.adahl at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3
(KHTML, like Gecko) Ubuntu/10.04 Chromium/6.0.472.36 Chrome/6.0.472.36

Crashes with invalid generated IL code, which seems like an internal problem.

Reproducible: Always

Steps to Reproduce:
1. Compile attached repro
2. Run EXE

Actual Results:  
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
(wrapper delegate-invoke) CAdahl_Repro4.App/Handler:invoke_void__this__ ():
IL_004a: ldarg.1   

  at CAdahl_Repro4.App..ctor () [0x00000] in <filename unknown>:0 
  at CAdahl_Repro4.App.Main (System.String[] args) [0x00000] in <filename

Expected Results:  
A NullPointerException probably, because A hasn't been initialized yet. If
instead of going via the event I just call A.Foo();, I do get the

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