Compiler Error C3652
'override' : a function that explicitly overrides must be virtual
A function that does an explicit override must be virtual. For more information, see Explicit Overrides.
The following sample generates 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 {}
};