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

RSRP-233503: Create overload without unused parameters CA.

$
0
0
Reporter Sergey Shkredov (serjic.shkredov) Sergey Shkredov (serjic.shkredov)
Created Mar 21, 2011 8:56:51 PM
Updated Jan 30, 2012 4:26:34 PM
Priority Normal
Type Feature
Fix versions No Fix versions
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
For function:
Foo(a,b,c);

where some parameters are unused and we can not remove them (Foo implements interface, is used as method group,...)
suggest CA 'Create overload without unused parameters' which creates new overload and delegates to it.
Foo(a,b,c)
{
  Foo(a);
}

private Foo(a)
{
  ... old code here...
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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