kevingadd/JSIL — Issue #74: Generic methods has wrong 'this' 
Author: markusjohnsson
Created: 2012-03-08 00:03:51+00:00
State: open

Yeah, sorry, another failing test ;-)

This fails with "foo is null", but that's actually because the 'this'-reference is pointing to the wrong object.

```csharp
using System;

class A
{
private string foo;

public void Do()
{
Console.WriteLine(foo.Length);
}

public A()
{
foo = "asdf";
}
}

class B : A
{
public B()
{
Do();
}
}

public class Program
{
public static void Main(string[] args)
{
var b = new B();
}
}
```