Since I am not quite sure what your code looks like, I have run some more tests using this code. In the header file:
class testThingsGenerally
{
private:
int m_nSize;
public:
testThingsGenerally();
~testThingsGenerally();
void calculateSomething();
void addChocolate();
};
namespace FELINE_TEST_GENERAL
{
class testThingsGenerallySpace
{
public:
testThingsGenerallySpace();
~testThingsGenerallySpace();
};
};
and in the matching cpp file:
testThingsGenerally::testThingsGenerally() { }
testThingsGenerally::~testThingsGenerally() { }
namespace FELINE_TEST_GENERAL
{
testThingsGenerallySpace::testThingsGenerallySpace() { }
testThingsGenerallySpace::~testThingsGenerallySpace() { }
}
When I run Find References on "testThingsGenerally" the references in the cpp file have no scope. That makes sense since they are at file scope.
When I run Find References on "testThingsGenerallySpace" the references in the cpp file have the namespace as the scope.
I suspect, but do not know for sure, that the namespace macro's are behind the mixed results you are seeing.