Edit

Share via


Compiler Error C3669

'member' : override specifier 'override' not allowed on static member functions or constructors

An override was specified incorrectly. For more information, see Explicit Overrides.

Example

The following sample generates C3669.

// C3669.cpp
// compile with: /clr
public ref struct R {
   R() override {}   // C3669
};