I'm working on a VB Windows Forms solution. I have defined a protected constant in a base class like this
Public Class MyBaseClass
Protected Const MY_CONST As String = "MyConst"
'... more code ...
If i execute a "Find Usages" on MY_CONST R# starts scanning the source files. In the progress popup shown i noticed that R# not only scans .vb files but also .resx files. As there are many .resx files in the solution because of localization the scanning process takes very long.
There are two things i expected:
- R# should only scan .vb files
- R# should only scan classes derived from MyBaseClass, because the const is in "Protected" scope
Is this a bug in R# or do i think wrong?