Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
Mirabile Futurum
State
Open
Assignee
Alexander Zverev
Subsystem
Quick Information
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Eugene Petrenko
    4 years ago (03 Jul 2007 17:06)
  • Updated by   Alexander Zverev
    23 months ago (17 Feb 2010 12:57)
  • Jira: RSRP-44776
    (history, comments)
 
RSRP-44776 CTRL+Q does not substitute type arguments!
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
class Base<T> {...
public IEnumerable<Pair<T, Bar>> QQQ{ get { ... } }
}
class Inh : Base<Foo> { ... }


somewhere in code:

Inh h = new Inh....

h.QQQ|

Press here CTRL+Q and got signature declared in Base, instead of substituted one.
Comments (3)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Alexander Zverev
  Alexander Zverev
07 Feb 2008 15:01
4 years ago
QuickDoc provides xml documentation for some code element. If QuickDoc display substituted type (as in example), user will be confused due to method header will not reflect documentation. QuickDoc is for general information about code elements, full information about type can be obtained from type variable or tooltip.
Eugene Petrenko
  Eugene Petrenko
07 Feb 2008 18:22
4 years ago
Thank you. You are right.
Is that possible to create the section describing current type parameters and signature for the method for current usage?
Alexander Zverev
  Alexander Zverev
07 Feb 2008 20:15
4 years ago
Yes, it's possible, but we need invent some information layout pattern to avoid mess. Currently I have no any idea about one, may be it is another feature.