编译器错误 C3453
“attribute”:由于限定符“assembly”不匹配,因此没有应用特性
程序集或模块级特性只能指定为独立的说明。
示例
下面的示例生成 C3453。
// C3453.cpp
// compile with: /clr /c
[assembly:System::CLSCompliant(true)] // C3453
// try the following line instead
// [assembly:System::CLSCompliant(true)];
ref class X {};