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 CS0515

'function' : access modifiers are not allowed on static contructors

A constructor cannot have an access modifier.

The following sample generates CS0515:

namespace x 
{
   public class clx 
   {
      public static int Main()
      {
         return 0;
      }
   }
   public class clz 
   {
      public static clz()   // CS0515, remove public keyword
      {
      }
   }
}