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

Key: RSRP-11247
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Sergey Coox
Reporter: Valentin Kipiatkov
Votes: 0
Watchers: 0
Operations

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

ASP: wrong warning in "Inherits" attribute

Created: 05 Aug 06 17:32   Updated: 09 Sep 06 13:30
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

Checked in Build: 224
Fixed in build: 253
Old URL: http://www.intellij.net/tracker/resharper/viewSCR?publicId=11247


 Description  « Hide
Class name in "Inherits" attribute of page directive should be full qualified (otherwise it does not compile!). But ReSharper shows qualifier as redundant and quickfix removes it.

 All   Comments   Work Log   Change History      Sort Order:
Gunnlaugur Thor Briem - 08 Aug 06 04:37
Re: #11247- ASP: wrong warning in "Inherits" attribute
I'm getting this bug in build 251.
<%@ Import namespace="Some.Name.Space"%>
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="MyClass.ascx.cs" Inherits="Some.Name.Space.MyClass" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>

In the Inherits attribute value, the string Some.Name.Space. is highlighted with a warning, and the warning text is "Qualifier is redundant".

Quickfix is "Remove redundant qualifier", and I select it, after which ASP.Net failes to JIT the page, with the parser error message "Could not load type MyClass."