Excellent example, it shows the bug perfectly I had to change it slightly, to:
using namespace System;
#include <vcclr.h>
class testClrOperator
{
operator gcroot<System::String^>() const
{
return System::String::Empty;
}
};
static void testUsingClrOperator()
{
testClrOperator testOp;
testOp|;
}
before it would compile. If I now type a dot VA suggests the double operator. The question is, what should VA insert?
If I disable VA and type the dot I do not get a listbox, and pressing CTRL-SPACE does not produce one either.
I have tried various things, but none of my attempts at explicitly calling this operator compile.