Intellisense error for indexer inside function call
Let's say this code:
void Main()
{
    var c = new C();
    DoWork(c[
}
void DoWork(string str) { }
public class C
{
    public string this[int x, int y, int width, int height]
    {
        get => "";
    }
}
Cursor is at right of DoWork(c[, delete the [ and then add the [, intellisense is prompted for DoWork call instead of the indexer parameters:
However if we switch the function call into another statement, intellisense is good:
I believe this one should be related and now fixed: https://forum.linqpad.net/discussion/2466/intellisense-error-for-static-create-and-implicit-conversion#latest
Comments
- 
            
Try with the latest beta and let me know how you get along.
 
