Compiler Error CS1902
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

Compiler Error CS1902

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

An invalid option was passed to the /debug compiler option.

The following sample generates CS1902:

// CS1902.cs
// compile with: /debug:x
// CS1902 expected
class x
   public static void Main()
© 2016 Microsoft