[BUG] property accessor is never used and aspx Eval

Hi

When using the "Analyzing errors in solution" tool, R# ver 4.5.1277 currently incorrectly marks a property as not used when a list (array, collection, or some such like) of these objects are data-bound to a control that uses <%# Eval("propertyname") %> syntax.
I suspect it may occur even if bound directly to the object but I have not tested this.

It does it with get; accessors as well as the entire property, recommending making them private or removing them in some instances.

Regards,
Glenn

Please sign in to leave a comment.