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

Key: RSRP-50887
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Sergey Coox
Reporter: Evgeny Potashnik
Votes: 0
Watchers: 0
Operations

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

Assigning an ASCX attribute is incorrectly reported as property read usage

Created: 11 Oct 07 04:10   Updated: 17 Oct 07 18:47
Component/s: Language - ASP.NET
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

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

Build: 517


 Description  « Hide
I have an ASCX control (CandidateNoteEditor), which is used in an ASPX page. The control has a public read-write property (NetworkerId), which I assign inside the ASPX page, using the "attribute" syntax:

<uc:CandidateNoteEditor id="ucCandidateNoteEditor" runat="server" ItemIndex="<%# Container.ItemIndex %>"
NetworkerId="<%# GetCandidateId(Container.DataItem) %>"
NoteText="<%# GetNotesText(Container.DataItem) %>"></uc:CandidateNoteEditor>

When I select Find Usages for the NetworkerId property and press "Show Only Read Usages" the above usage is listed, which is incorrect, because it's actually assigning to the property.



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