I am using Build 2102.
I was able to repro it in a minimized sample (the real code template has about 2500 lines:
This is the code
namespace TestDB
{
template <class TRecord>
class CClassTemplate : public TRecord
{
public:
CClassTemplate();
~CClassTemplate();
bool Foo();
};
template <class TRecord>
bool CClassTemplate<TRecord>::Foo()
{
return True;
}
}
Now I select the function and try to change the signature to:
bool Foo(bool bTest);
The box shows correctly 2 referenced to change.
I press OK and I retrieve the message:
---------------------------
Visual Assist
---------------------------
Visual Assist failed to modify one or more files. The refactoring may not have completed successfully.
Inspect your files to see if any changes need to be rolled back.
Common causes for this error are read-only files and related source control problems.
---------------------------
OK
---------------------------
The declaration ins the class is changed. The definition not.
It doesn't matter if you try to select the definition or if you try to change the declaration for the change.