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

RSRP-289060: Suggest replace method params with variable refactoring

$
0
0
Reporter Joshua McKinney (joshka) Joshua McKinney (joshka)
Created Mar 6, 2012 10:25:01 AM
Updated Mar 6, 2012 10:25:01 AM
Priority Normal
Type Unspecified
Fix versions No Fix versions
State Submitted
Assignee Unassigned
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
Given:
void test()
{
foo("bar", "baz");
}

void foo(params string[] values)
{
}
It would be nice to see a refactoring suggestion for highlighting "bar", "baz" (or possibly on the method call) to pull "bar", "baz" out as a string[] variable (or field etc.).

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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