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 CS0139

No enclosing loop out of which to break or continue

A break or continue statement was encountered outside of a loop.

The following sample generates CS0139 twice:

namespace x 
{
   public class a
   {
      public static void Main()
      {
         continue;  // CS0139
         break;     // CS0139
      }
   }
}

See Also

Jump Statements