Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Compiler Error C2605

'name' : this method is reserved within a managed class

Certain names are reserved by the compiler for internal functions. For more information, see Destructors and Finalizers.

The following sample generates C2605.

// C2605.cpp
// compile with: /clr /c
ref class R {
   void Finalize() {}   // C2605
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.