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 CS1527

Namespace elements cannot be explicitly declared as private or protected

Only public members are allowed in a namespace. The public keyword must be explicitly specified.

The following sample generates CS1527:

namespace bad {
   private class foo1 {};    // CS1527
   protected class foo2 {};  // CS1527
}