#define DEF1 1
#define DEF2 DEF1
#ifdef DEF1
int main(){
return DEF1;
}
#endif
Bug: Find All References only finds the "return DEF1;" and not the cases in the #define/#ifdef. VS handles that case correctly.
It also affects rename (which uses find all references).