Reporter | 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>();
}
}
public class TestClass
{
public static void TemplatedMethod<T>()
{
}
public void Caller()
{
TemplatedMethod<int>();
}
}