In C++, VA Outline method grouping misbehaves for a class that contains a member function named 'delegate'. Such a function also appears in the outline with the wrong color and icon.
For example, in a .h file I have:
struct foo
{
void method1();
int delegate();
void method2();
}
In the .cpp file I have:
void foo::method1() { }
void foo::delegate() { }
void foo::method3() { }
In the VA Outline of the cpp file, instead of seeing:
* foo methods
** method1
** delegate
** method3
I'm getting:
* foo::method1
* foo::delegate
* foo::method3
The color and icon for the method is wrong both in the .cpp file and the .h file.
From a search in the forum I'm guessing this has something to do with the word 'delegate' having a special meaning in C# (e.g. https://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=7903)?