Hi everyone,
I have found a bug in the NRefactory Demo.
public void Main (string[ args)
{
var d = 0;
int[ list = new int[ {0, 1, 2, 3}
d = list[0];
}
it will stop the MethodDeclaration at int[ list = new int[ {0, 1, 2, 3} instead of finishing at d = list[0]; }
I don't know if i have explained what i mean, have a look at the pic i am attaching:
Code: Link
Syntax Tree:
Error:
Looking forward to your answers
Thanks