Compiler Error C3838
cannot explicitly inherit from 'type'
The specified type
cannot act as a base class in any class.
Example
The following sample generates C3838:
// C3838a.cpp
// compile with: /clr /c
public ref class B : public System::Enum {}; // C3838
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