I just tried it in a test .cs file with nothing in it but the following (the cursor is just after the 10 in the for statement as I'm typing it in):
class Test1
{
public double A()
{
bool b = true;
for (int i = 0; i < 10)
if (b)
{
System.Console.WriteLine("Test");
}
return 0.0;
}
}
As soon as I type the ";" after the 10, the code looks like this:
class Test1
{
public double A()
{
bool b = true;
for (int i = 0; i < 10; )
if (b)
{
System.Console.WriteLine("Test");
}
return 0.0;
}
}