Project
ReSharper
Priority
Normal
Type
Bug
Fix versions
4.5.1, 5.0
State
Fixed
Assignee
Sergey Shkredov
Subsystem
No subsystem
Affected versions
No Affected versions
Fixed in build
5.0.1612.107  
  • Created by   Yuri Astrakhan
    2 years ago (22 Apr 2009 05:43)
  • Updated by   Yuri Astrakhan
    2 years ago (22 Apr 2009 18:17)
  • Jira: RSRP-104633
    (history, comments)
 
RSRP-104633 Default naming for protected fields is invalid
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
R# suggests to rename protected and protected internal fields to the _lowerCamelCase pattern.
This works fine for all private fields, but will create compiler warnings (or errors in case when warnings are treated as errors) - if the field is protected because such identifiers are not CLS-compliant. I think a separate pattern is needed, something like "m_lowerCamelCase".

Issue was closed
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments