Priority
Show-stopper
Type
Bug 
State
Duplicate RSRP-24711  
Assignee
Sergey Coox 
Subsystem
Language - ASP.NET 
Affected versions
Fixed in
Fixed in build Next build
Build
237
  • Submitted by   James Hebben
    3 years ago (06 Aug 2006 16:07)
  • Updated by James Hebben
    3 years ago (09 Sep 2006 13:33)
  • Jira: RSRP-23909
    (history, comments)

RSRP-23909

Incorrect error highlighting in asp when using CodeFileBaseClass

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.

Issue was closed
Comments (0)
 
History (0)
 
Links
 
Issue has no comments