Hello,
I am using VA 1530 in Visual 2005 with C++
I have noticed a bug in the "encapsulate field" feature when using namespace:
namespace Nasa{
class Shuttle{
int crashCount;
};
}
class Congress{
Nasa::Shuttle lastShuttle;
};
The encapsulate field on the lastShuttle leads to
class Congress{
Nasa::Shuttle lastShuttle;
Nasa.Shuttle LastShuttle() const { return lastShuttle; }
void LastShuttle(Nasa.Shuttle val) { lastShuttle = val; }
};
Instead of
class Congress{
Nasa::Shuttle lastShuttle;
Nasa::Shuttle LastShuttle() const { return lastShuttle; }
void LastShuttle(Nasa::Shuttle val) { lastShuttle = val; }
};