編譯器錯誤 C3656
'override' :無法重複覆寫規範
明確覆寫關鍵詞只能指定一次。 如需詳細資訊,請參閱 明確覆寫。
下列範例會產生 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; }
};