History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-34155
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

"foreach" Template: Item Type Prediction for Nongeneric Collections

Created: 08 Jan 07 03:47   Updated: 15 Jun 07 18:49
Component/s: Live templates
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
Even in netfx3, there are collection types implemented as a custom class derived from the non-generic collection & IList interfaces. However, they in addition feature all the typed methods & properties, eg Add and this[int]. In such a case the template should employ this additional info, like the type of the custom this[int] indexer, and suggest a type for the collection elements.

 All   Comments   Work Log   Change History      Sort Order:
Ilya Ryzhenkov - 08 Jan 07 14:00
This is what I asked about 2 years ago

Serge Baltic - 08 Jan 07 16:17
Finally, you've gotten a chance to make it happen