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 CS1028

Unexpected preprocessor directive

A preprocessor directive was found but not expected.

For example, a #endif was found with no preceding #if.

The following sample generates CS1028:

#endif   // CS1028, no matching #if
namespace x {
   public class clx {
      public static void Main() {
      }
   }
}