Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
5.0
State
Fixed
Assignee
Olga Lobacheva
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
5.0.1625.33  
  • Created by   Aleksandar Puskas
    2 years ago (29 Oct 2009 12:34)
  • Updated by   Olga Lobacheva
    18 months ago (14 Jul 2010 18:54)
  • Jira: RSRP-127471
    (history, comments)
 
RSRP-127471 Resharper erroneously offers "Remove redundant qualifier" where this is not applicable or removes too much of the qualifier
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Please see the attached project for issue reproduction. The problem involves having a class, namespace and property of the same name. There are two methods, a static and a non-static. Obeying Resharper's advice leads to the following two compiler errors.

error CS0120: An object reference is required for the non-static field, method, or property 'ResharperIssue3.Test.Program.Project.get'
error CS0176: Member 'ResharperIssue3.Test.Project.Project.Load()' cannot be accessed with an instance reference; qualify it with a type name instead
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (1)
 
Issue has no comments