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 Warning (level 1) CS1523

The keyword case or default must precede code in switch block

Code was found in a switch statement that was part of neither a case nor a default block.

The following sample generates CS1523:

class x {
   public static void Main() {
      int i = 0;
      switch (i) {
         i = 6;   // CS1523, code not under a label
         // try the following
         /*
         default:
            i = 6;
         */
      }
   }
}