Compiler Error C2605
'name' : this method is reserved within a managed or WinRT class
Certain names are reserved by the compiler for internal functions. For more information, see Destructors and finalizers.
Example
The following sample generates C2605.
// C2605.cpp
// compile with: /clr /c
ref class R {
protected:
void Finalize() {} // C2605
};
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