Reporter | Scott Munro (scott.munro) |
---|---|
Created | Nov 14, 2011 5:10:16 AM |
Updated | Jan 6, 2012 10:57:20 PM |
Resolved | Nov 15, 2011 12:01:34 AM |
Priority | Normal |
Type | Bug |
Fix versions | 6.1 |
State | Fixed |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | Refactoring |
Affected versions | 6.1 |
Fixed in build | 6.1.4.65 |
If a variable is declared as follows...
Dim x as new MyClass
...then the 'Introduce Variable' refactoring is not available when the variable name is selected. If the declaration is changed to the following though, then it is.
Dim x = new MyClass
Both syntaxes are valid in VB.Net and both should be supported by the refactoring.
Dim x as new MyClass
...then the 'Introduce Variable' refactoring is not available when the variable name is selected. If the declaration is changed to the following though, then it is.
Dim x = new MyClass
Both syntaxes are valid in VB.Net and both should be supported by the refactoring.