icsharpcode/NRefactory — pull request #68 by erik-kallen (2012-06-19 23:07:01+00:00)
Title: Allow user-defined conversions in operators in custom mscorlib.

I have a custom mscorlib, where char has an op_Implicit to convert it to string:

```
struct Char {
public static operator string(char ch) {
return null;
}
}
```

When I then write

```string s = "abc" + 'd'```

I get a conversion error.

The attached patch makes this scenario work (it almost did before, I think it was just bad luck that caused it not to), probably without breaking anything else (it doesn't break any tests, and I can't see how this could possibly affect anything with the standard mscorlib.