namespace A
{
class B
{
void foo(B &b);
struct C { bool b = false; };
void bar(B &b);
};
}
Hover over the “B” in the bar param list, and/or do Find All References on the “B” in “class B”.
Bug: IntelliSense shows “(bool)false” on hover and Find All References incorrectly give “Not a reference” for the bar case.
Use
Hover over the “B” in the bar param list, and/or do Find All References on the “B” in “class B”.
Bug: IntelliSense shows “(bool)false” on hover and Find All References incorrectly give “Not a reference” for the bar case.
Reported as a VS bug at https://developercommunity.visualstudio.com/content/problem/949085/c-intellisense-breaks-in-a-simple-scenario-turning.html