Project
ReSharper
Priority
Major
Type
Bug
Fix versions
2.5
State
Fixed
Assignee
Dmitry Lomov
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Drew Noakes
    5 years ago (06 Aug 2006 18:47)
  • Updated by   Olga Lobacheva
    18 months ago (14 Jul 2010 18:51)
  • Jira: RSRP-25553
    (history, comments)
 
RSRP-25553 False error if comment on line after compiler directive
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
Hi,

I was browsing the log4net code (class Log4NetConfigurationSectionHandler). It makes heavy use of compiler directives.

This particular class is wrapped in:

  1. if !NETCF

<class code here>

  1. endif // !NETCF

Resharper incorrectly highlights the comment after this endif directive as an error.

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