Compiler Error C3669


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at 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.

The following sample generates C3669.

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