編譯器錯誤 C3654
'text' :明確覆寫中的語法錯誤
未預期的字串是在明確的覆寫中。 如需詳細資訊,請參閱 明確覆寫。
下列範例會產生 C3654:
// C3654.cpp
// compile with: /clr /c
public ref struct B {
virtual void f() = 0;
virtual void g() = 0;
virtual void h() = 0;
};
public ref struct Q : B {
virtual void f() = B::f, 3 {} // C3654
// try the following line instead
// virtual void g() = B::g, B::h {}
};