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

Key: RSRP-66370
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Alexander Zverev
Reporter: Serge Baltic
Votes: 0
Watchers: 0
Operations

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

Error "Ambiguous Invocation" with Anon Delegate Argument: Wrong QFix "Create Overload", Should Be "Insert Signature"

Created: 25 Apr 08 18:10   Updated: 06 May 08 20:31
Component/s: Quick Fixes
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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


 Description  « Hide
void Do(Action act){}
void Do(Action<bool> act){}
void Test()
{
	Do(delegate { });
}

delegate is ambiguous. QFix suggests creating a new overload for Do, which is useless in fixing the error.

Should suggest inserting the explicit delegate signature so that to disambig between the overloads, with a choice of signatures (under the second-level menu, possibly).



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