Compiler Error C3611
'function': a sealed function cannot have a pure-specifier
A sealed function was declared incorrectly. For more information, see sealed.
Example
The following sample generates C3611.
// C3611.cpp
// compile with: /clr /c
ref struct V {
virtual void Test() sealed = 0; // C3611
virtual void Test2() sealed; // OK
virtual void Test3() = 0; // 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