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

Key: RSRP-36610
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Coox
Reporter: Vladimir Reshetnikov
Votes: 0
Watchers: 1
Operations

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

ReSharper shows wrong 'params' modifer for BeginInvoke method

Created: 03 Mar 07 20:15   Updated: 31 Oct 08 10:34
Component/s: Parameter Info
Fix Version/s: 4.5
Security Level: Everybody (All jira users)

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

Build: 361


 Description  « Hide
delegate void F(params object[] o);
// ....
F f = ...;
f.BeginInvoke()

Resharper shows signature: BeginInvoke(params object[] o, AsyncCallback callback, object state).
'params' modifier is wrong.
Should be: BeginInvoke(object[] o, AsyncCallback callback, object state).



 All   Comments   Work Log   Change History      Sort Order:
Vladimir Reshetnikov - 08 Mar 07 16:39
If the delegate is declared in a referenced assembly, ReSharper shows correct signature.
If the delegate is declared in the current project (not yet compiled), ReSharper shows wrong 'params' modifer.