Hi,
VAX seems to have an issue with C++/CLI properties, but only when namespace scoping is involved.
If you create a property in a class that's in a namespace scope, VAX will not do any of its good stuff... no autocomplete, no refactoring, nothing. It doesn't seem to recognize that the property is part of the class.
For example, here's a real simple class...
declaration (header):
namespace vax_property_test
{
public ref class myClass
{
public:
myClass();
property int myProperty
{
int get(void);
void set(int value);
}
private:
int _value;
};
}
and then the definition (cpp):
using namespace vax_property_test;
myClass::myClass()
{
_value = 0;
}
void myClass::myProperty::set(int value)
{
_value = value * 2;
}
int myClass::myProperty::get()
{
return _value;
}
Try to do anything with _value in either myProperty definitions, and VAX doesn't recognize _value as a member of myClass.
However, if you don't scope the class with a namespace, VAX seems to work ok.
Any suggestions?
--Zach