Reporter | Ivan Serduk (IvanSerduk) |
---|---|
Created | Dec 1, 2016 12:26:50 PM |
Updated | Apr 17, 2018 6:02:40 PM |
Subsystem | Context Actions |
Assignee | Alexander Shvedov (shvedov) |
Priority | Normal |
State | Submitted |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
1. Press "Alt+Enter"
2. Select "Introduce variable"
3. Press "Enter" two times to confirm "var" and variable name.
4. Result -
"Unexpected token" error disappears after next typing
2. Select "Introduce variable"
3. Press "Enter" two times to confirm "var" and variable name.
4. Result -
"Unexpected token" error disappears after next typing
public class MyClass
{
public void Test(MyClass myClass)
{
var a = 1;
myClass.GetValue(){cursor}
for (var i = 0; i < a; i++)
{
}
}
public object GetValue()
{
return null;
}
}