Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Error C2605
Collapse the table of content
Expand the table of content

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.

The following sample generates C2605.

// C2605.cpp
// compile with: /clr /c
ref class R {
   void Finalize() {}   // C2605
© 2015 Microsoft