Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

NRefactory - BUG - Block {}

$
0
0

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:
2015 05 25 1810

Error:
2015 05 25 1810 001

Looking forward to your answers
Thanks


Viewing all articles
Browse latest Browse all 1764

Trending Articles