If I have a method:
class Foo : public IUnknown
{
STDMETHODIMP_(ULONG) AddRef() { /* body */ }
}
and I right click on AddRef, and choose "Move Implementation to Source File" then I get this in the source file:
Foo::AddRef() { /* body */ }
No return type - the entire method type definition has disappeared.
I should have gotten:
STDMETHODIMP_(ULONG) Foo::AddRef() { /* body */ }