Kompilatorfel C3656

åsidosättning: åsidosättningsspecifikation kan inte upprepas

Anmärkningar

Ett explicit åsidosättningsnyckelord kan bara anges en gång. Mer information finns i Explicita åsidosättningar.

Example

I följande exempel genereras C3656:

// C3656.cpp
// compile with: /clr /c
public interface struct O {
   int f();
};

public ref struct V : O {
   int f() override override { return 0; }   // C3656
   // try the following line instead
   // int f() override { return 0; }
};