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

Key: RSRP-62555
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Sergey Coox
Reporter: Torkil Olsen
Votes: 0
Watchers: 0
Operations

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

Loss of functionality ... wrongly analysis og ambigious reference in object data source

Created: 26 Mar 08 01:01   Updated: 28 Mar 08 15:59
Component/s: Language - ASP.NET
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(266 kb)

2. screenshot-1.jpg
(266 kb)

Build: 762


 Description  « Hide
This code is not resolved correctly, at the same method is defined with 3 different signatures. Only on of these method signatues does match the supplied number of parameters.

<asp:ObjectDataSource ID="SvDS" runat="server" SelectMethod="GetVViewBySkjalId" TypeName="Tls.BusinessLogic.VViewUtility" OnSelecting="SvDS_Selecting">
<SelectParameters>
<asp:Parameter Name="skjalId" Type="Int32" />
<asp:Parameter Name="isEnda" Type="boolean" DefaultValue="False" />
</SelectParameters>
</asp:ObjectDataSource>

see screen shot



 All   Comments   Work Log   Change History      Sort Order:
Sergey Coox - 28 Mar 08 13:58
method resolution in the case is not supported by ReSharper

Torkil Olsen - 28 Mar 08 15:59
Then please remove the analysis error as the rule must be, that if it works in .net it should not be resolved as an error in resharper. Do you agree?