This documentation is archived and is not being maintained.

Compiler Error C3646

Error Message

'specifier' : unknown override specifier

The compiler found a token in the position where it expected to find an override specifier, but the token was not recognized by the compiler.

For more information, see Override Specifiers.

The following sample generates C3646:

// C3646.cpp
// compile with: /clr /c
ref class C {
   void f() unknown;   // C3646
   // try the following line instead
   // virtual void f() abstract;
};
Show: