Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
access specifier 'specifier' is not supported
A CLR access specifier was specified incorrectly. For more information, see Type visibility and Member visibility in How to: Define and Consume Classes and Structs (C++/CLI).
Example
The following sample generates C3418.
// C3418.cpp
// compile with: /clr /c
ref struct m {
internal public: // C3418
void test(){}
};
ref struct n {
internal: // OK
void test(){}
};