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

RSRP-168572: QF 'Fix type parameter constraints' does not rename type parameters as necessary

$
0
0
Reporter Vladimir Reshetnikov (nikov) Vladimir Reshetnikov (nikov)
Created Mar 3, 2010 6:36:41 PM
Updated Jul 6, 2011 6:41:15 PM
Priority Major
Type Bug
Fix versions Mirabile Futurum
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
interface IA
{
  void Foo<T, S>() where T : S;
}

class C : IA
{
  public void Foo<T, U>() // QF
  {
  }
}


Actual result:

class C : IA
{
  public void Foo<T, U>() where T : S // S unresolved
  {
  }
}


Expected result:

class C : IA
{
  public void Foo<T, U>() where T : U
  {
  }
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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