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

Key: RSRP-35130
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Lomov
Reporter: Andrey Simanovsky
Votes: 1
Watchers: 1
Operations

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

ReSharper fails to detect actual error

Created: 01 Feb 07 19:03   Updated: 20 Jun 07 11:01
Component/s: PSI - Resolve
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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


 Description  « Hide
Consider methods like List<T>.Sort(). They have several overloads only one of which accepts a delegate. However, when there is a call
someList.Sort(delegate(){}) and the anonymous method fails to have the correct signature a "cannot resolve: multiple candidates" error is shown on the Sort method. Very inconvenient.
Expected behavior. It makes sense to pick up the List<T>.Sort() signature that has a delegate parameter and show errors about incorrect signature or cannot cast return value in the anonymous method.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.