Bug 318832 (MONO75917) - [GMCS] Passing generic parameter via reflection crashes mono
Summary: [GMCS] Passing generic parameter via reflection crashes mono
Status: RESOLVED FIXED
Alias: MONO75917
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: 1.0
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-27 14:33 UTC by Steffen Kieß
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:28:51 UTC


---- Reported by kiess@h3c.de 2005-08-27 07:33:12 MST ----

Description of Problem: Passing a generic parameter via reflection crashes
mono. 


Steps to reproduce the problem:
1.
cat > test.cs << EOF
using System.Collections.Generic;

public class M {
  public static void f(List<int> l) {}

  public static void Main() {
    typeof(M).GetMethod("f").Invoke(null, new object[] { new List<int>() });
  }
}
EOF
2. gmcs test.cs
3. mono test.exe

Actual Results:

** ERROR **: type 0x15 not handled in ves_icall_InternalInvoke
aborting...


Expected Results:
No output.

How often does this happen? 
Always

Additional Information:
I'm using mono svn r48902



---- Additional Comments From martin@ximian.com 2005-09-28 09:55:36 MST ----

Fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".