Project
ReSharper
Priority
Major
Type
Bug
Fix versions
6.0 EAP
State
Fixed
Assignee
Evgeny Pasynkov
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Dmitry Lomov
    5 years ago (20 Jan 2007 16:27)
  • Updated by   Kirill Falk
    12 months ago (20 Jan 2011 18:23)
  • Jira: RSRP-34661
    (history, comments)
 
RSRP-34661 'Cannot access protected constructor' error is not reported
2
Issue is visible to: All Users
  The issue is visible to the selected user group only
class A
{
   protected A(string name) {}
}

class B : A
{
    public static readonly A a =new A("a"); // error CS1540; not reported by ReSharper
}
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Vladimir Reshetnikov
  Vladimir Reshetnikov
01 Jun 2007 19:01
4 years ago
Duplicate RSRP-29003