kevingadd/JSIL — Issue #64: Method in generic class as generic delegate crashes JSIL
Author: markusjohnsson
Created: 2012-02-01 22:12:35+00:00
State: open

The following test case crashes JSIL in JavascriptFormatter.GetNameOfType (TypeReference type):

```csharp

using System;

class X
{
public void Run()
{
Y(actn);
}

void Y(Action t)
{
t(default(T));
}

void actn(T t)
{
Console.WriteLine("howdy");
}
}

public class Program
{
public static void Main(string[] args)
{
var x = new X();
x.Run();
}
}

```