Project
ReSharper
Priority
Show-stopper
Type
Bug
Fix versions
2.0.1
State
Fixed
Assignee
Sergey Coox
Subsystem
ASP.NET
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Valentin Kipiatkov
    5 years ago (05 Aug 2006 17:32)
  • Updated by   Valentin Kipiatkov
    5 years ago (09 Sep 2006 13:30)
  • Jira: RSRP-11247
    (history, comments)
 
RSRP-11247 ASP: wrong warning in "Inherits" attribute
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
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.

Issue was closed
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Gunnlaugur Thor Briem
  Gunnlaugur Thor Briem
08 Aug 2006 04:37
5 years ago
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."