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

Key: RSRP-27020
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Oleg Stepanov
Reporter: Erwin Derksen
Votes: 0
Watchers: 1
Operations

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

Autocompletion inserts () when a delegate is expected

Created: 06 Aug 06 19:12   Updated: 12 Feb 07 09:26
Component/s: Code Completion
Fix Version/s: Mirabilie Futurum
Security Level: Everybody (All jira users)

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

Build: 253
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=27020


 Description  « Hide
version: vs2005

Autocompletion inserts (), even on a place were a delegate (thus just a method name, not a method call) is expected.

Example:

private delegate void CallBack();
private CallBack callBack;

protected void MyCallBack()
{
// ...
}

public string Test([Validation] string p)
{
callBack = M| // | is cursor position
// ...
}

Result when pressing autocomplete:
callBack = MyCallBack();| // | is cursor position
and an error message "Cannot convert source type 'void' to ...".



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