Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
// CS1902.cs
// compile with: /debug:x
// CS1902 expected
class x
{
public static void Main()
{
}
}
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.