This documentation is archived and is not being maintained.
Compiler Error CS1904
'number' is not a valid warning number
A number that was passed to the /nowarn compiler option was not a valid warning.
The following sample generates CS1904:
// compile with: /nowarn:invalid_warning_number
// CS1904 generated
public static void Main()