Erro do compilador C3655
' function ': função já substituída explicitamente
Uma função só pode ser substituída explicitamente uma vez. Para obter mais informações, consulte substituições explícitas.
O exemplo a seguir gera C3655:
// C3655.cpp
// compile with: /clr /c
public ref struct B {
virtual void f();
virtual void g();
};
public ref struct D : B {
virtual void f() new sealed = B::f;
virtual void g() new sealed = B::f; // C3655
// try the following line instead
// virtual void g() new sealed = B::g;
};