Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
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{}
};