NGWS frameworks string literals are not allowed in attribute blocks
NGWS string literals are not permitted in attribute blocks.
The following sample generates C3747:
#using <mscorlib.dll> using namespace System; [ attribute(All) ] public __gc struct ABC { ABC(String*) { } }; [ ABC(S"test") ] // C3747 // try the following line instead // [ ABC("test") ] public __gc struct AAA { }; void main() { }