Compiler Warning (level 1) CS1696

Single-line comment or end-of-line expected

The compiler requires a preprocessor directive to be followed by an end-of-line terminator or by a single-line comment. The compiler has finished processing a valid preprocessor directive, and has encountered something that violates this syntax constraint.

Example

The following sample generates CS1696.

// CS1696.cs  
class Test  
{  
   public static void Main()  
   {  
      #pragma warning disable 1030;219   // CS1696  
      #pragma warning disable 1030   // OK  
   }  
}