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

RSRP-275489: Create Method produces Sub rather than Function for Implicitly Typed Variables VB.Net

$
0
0
Reporter Scott Munro (scott.munro) Scott Munro (scott.munro)
Created Sep 12, 2011 3:44:18 AM
Updated Mar 27, 2012 5:03:10 PM
Priority Critical
Type Unspecified
Fix versions 7.0
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
In the following code, if the 'NonexistantMethod' does not exist and I use the 'Create Method' quick-fix to generate it, the resulting method is a Sub rather than a function. The quick-fix works as expected if I explicitly type the local variable.

Dim localVariable = SomeClass.NonexistantMethod()

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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