Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
this explicit override syntax requires /clr:oldSyntax
Remarks
When compiling for the latest managed syntax, the compiler found explicit override syntax for previous versions that is no longer supported.
For more information, see Explicit Overrides.
Example
The following example generates C3648:
// C3648.cpp
// compile with: /clr
public interface struct I {
void f();
};
public ref struct R : I {
virtual void I::f() {} // C3648
// try the following line instead
// virtual void f() = I::f{}
};