Compiler Error C3609
'member': a sealed or final function must be virtual
The sealed and final keywords are only allowed on a class, struct, or member function marked virtual
.
The following sample generates C3609:
// C3609.cpp
// compile with: /clr /c
ref class C {
int f() sealed; // C3609
virtual int f2() sealed; // OK
};
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for