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

RSRP-228277: "Remove Redundant Type Parameter" fails to update usages if the method is static

$
0
0
Reporter Martin Bell (martinbell) Martin Bell (martinbell)
Created Mar 14, 2011 12:33:30 AM
Updated Jan 26, 2012 7:04:53 PM
Priority Normal
Type Bug
Fix versions No Fix versions
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions 5.1.3
Fixed in build No Fixed in build
If you select "Remove Redundant Type Parameter" on template parameter T, The caller does not get updated resulting in a compile error. If however you make TemplatedMethod non static the refactoring works as expected.

public class TestClass
{
public static void TemplatedMethod<T>()
{
}

public void Caller()
{
TemplatedMethod<int>();
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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