class Program
{
static void Main()
{
Console.WriteLine();
}
}
If I select "Console.WriteLine()" without the trailing semicolon and try to Extract method, I get an error message "Expression type is void".
I do see any reason to restrict user in this very case.
Description
class Program
{
static void Main()
{
Console.WriteLine();
}
}
If I select "Console.WriteLine()" without the trailing semicolon and try to Extract method, I get an error message "Expression type is void".
I do see any reason to restrict user in this very case.