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 C3812

'property' must be the first token in a property declaration

When declaring a property, the property keyword must be the first token on the line.

The following sample generates C3812:

#using <mscorlib.dll>

__gc class X {
   static __property int Size; // C3812, remove static specifier

      void get_Size() { 
      }
      void set_Size() { 
      }
};

void main() {
}