Extract method error
I am using build 213.
Given this line:
Array.Sort(arr, delegate(string a, string b){return string.Compare(a, b,
true);});
When the "extract method" refactoring is applied, it produces this code:
private static void xx(string[] arr)
{
string a;
string b;
Array.Sort(arr, delegate(string a, string b)
{
return string.Compare(a, b, true);
});
}
The two variable declarations are in error.
Sorry if this problem is already known.
Best regards,
Andreas Hofer
Please sign in to leave a comment.
Could you please submit this bug into the tracker? Thanks!
Valentin Kipiatkov
Chief Scientist, Vice President of Product Development
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"