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

Key: RSRP-23909
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Blocker Blocker
Assignee: Sergey Coox
Reporter: James Hebben
Votes: 0
Watchers: 0
Operations

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

Incorrect error highlighting in asp when using CodeFileBaseClass

Created: 06 Aug 06 16:07   Updated: 09 Sep 06 13:33
Component/s: Language - ASP.NET
Fix Version/s: 2.0.1
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive Resharper237CodeFileBaseClass.zip (1 kb)

Issue Links:
Duplicate
This issue duplicates:
RSRP-24711 Add support for custom page/control a... Blocker Closed
 

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


 Description  « Hide
I am using a custom page base class (BasePage), derived from System.Web.UI.Page.

The class has some public properties which should be accessible from the .aspx @Page directive once I have added the CodeFileBaseClass attribute to set the base class to BasePage.

R# marks up the all (valid) BasePage public property references in the @Page directive as errors.

E.G. BasePage has a public string property called Foo. I should be able to do the following:

<%@ Page 
    Language="C#" 
    AutoEventWireup="true" 
    CodeFile="Default.aspx.cs" 
    Inherits="_Default" 
    CodeFileBaseClass="BasePage" 
    Foo="baz" %>

R# incorrectly marks the Foo attribute as invalid.

See attached solution for full example.



 All   Comments   Work Log   Change History      Sort Order:
Sergey Coox - 09 Aug 06 12:07
Re: #23909- Incorrect error highlighting in asp when using CodeFileBaseClass
It is a VS, who highlights Foo as unresolved. R# highlights the file as valid, for we do not support custom page attributes.

You may covert the request to a feature request to support them, though.


James Hebben - 09 Aug 06 12:07
Re: #23909- Incorrect error highlighting in asp when using CodeFileBaseClass
I have added this as a request here:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=24711