I'm seeing this a lot. I have a user-defined Matrix class in some namespace 'foo', and are using a 'using namespace foo;' directive in the top of the file. I've also included the header which contains the definition of Matrix.
#include <windows.h>
#include "matrix.h" // contains Matrix in the foo namespace
using namespace foo;
int main()
{
Matrix m;
m. // cursor here
}
When declaring a variable of type Matrix, and issuing a 'go to definition' with the cursor on Matrix in the variable declaration, it correctly jumps to my own Matrix class. However, when using de . operator to access it's members, it lists all members of GDI+'s Matrix class listed in GdiplusMatrix.h. I have not included this file in my project, and the tooltip clearly says that 'm' is of type 'foo::Matrix'. Yet when accessing it's members it thinks something else. This is very annoying.