icsharpcode/NRefactory — pull request #75 by erik-kallen (2012-07-05 21:06:21+00:00)
Title: Conversion between delegate types

Converting between delegate types fail. Failing test and possible solution (I think it was intended, but I'm not sure if it's the best model for this code) in separate commits.

```
using System;
delegate void D1(int i);
delegate void D2(int i);
class C {
void M() {
D1 d1 = i => {};
D2 d2 = $new D2(d1)$;
}
}
```