Edit

Share via


Compiler Error CS1902

Invalid option 'option' for /debug; must be full or pdbonly

An invalid option was passed to the DebugType compiler option.

The following sample generates CS1902:

C#
// CS1902.cs  
// compile with: /debug:x  
// CS1902 expected  
class x  
{  
   public static void Main()  
   {  
   }  
}