NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error C3267

'class' : a class-constructor must be fully defined within the enclosing class

Class constructors must be fully defined within the enclosing class definition.

The following sample generates C3267:

#using <mscorlib.dll>

__gc class X {
   public:
   static X(); // C3267

   /* use the lines below to resolve the error
   static X() {
   }   
   */
};

void main() {
}