Using VS2005, VA 1837 on a winXP machine I have added the following code to a header file:
class FelineTestCreateUsage
{
void testFunc1();
bool testFunc2();
};
and the following code to the matching cpp file:
void FelineTestCreateUsage::testFunc1()
{
NewFunctionName();
}
bool FelineTestCreateUsage::testFunc2()
{
return NewFunction2();
}
Create From Usage is offered for me on both new functions. Can you try this test code on your system please, and see what happens?
Which version of VA are you using?
Is VA refactoring being offered on the class and member function in your code?