Intellisense error for static create and implicit conversion
Let's say this code:
void Main() { var a1 = B.Create("Life"); A a2 = B.Create("Life"); } class A { } class B { public static B Create(string val) => new B(); public static implicit operator A(B b) => new A(); }
If we type the (
in a1
line, intellisense is good:
If we type the (
in a2
line, intellisense is bad:
This bug happens both in latest LINQPad 6
and LINQPad 5
Comments
We can add an additional explicit conversion to make the intellisense works again:
Thanks - I've found the issue. I'll get a fix into the next beta after testing is complete.
This should now be fixed in 6.15.1