Error del compilador C3652
"override": una función que realiza invalidaciones explícitamente debe ser virtual
Una función que realiza una invalidación explícita debe ser virtual. Para obtener más información, consulte Invalidaciones explícitas.
El ejemplo siguiente genera el error C3652:
// C3652.cpp
// compile with: /clr /c
public interface class I {
void f();
};
public ref struct R : I {
void f() = I::f {} // C3652
// try the following line instead
// virtual void f() = I::f {}
};