Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-280409: Introduce Parameter is not available for variables declared using 'As' instead of '='.

$
0
0
Reporter Scott Munro (scott.munro) 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.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>