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 CS1530

Keywords new or unsafe not allowed on namespace elements

It is not necessary to specify the new keyword on any construct that is in a namespace. No construct in namespace scope can be an unsafe construct.

The following sample generates CS1530:

namespace a {
   new class i {   // CS1530
   }
   // try the following instead
   class ii {
      public static void Main() {
      }
   }
}