Compiler Error C3912
'event': type of event must be a delegate type
An event was declared but was not of the proper type.
For more information, see event.
The following sample generates C3912:
// C3912.cpp
// compile with: /clr
delegate void H();
ref class X {
event int Ev; // C3912
event H^ Ev2; // 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