This documentation is archived and is not being maintained.

Compiler Warning (level 1) CS1692

Invalid number

A number of preprocessor directives, such as #pragma and #line, use numbers as parameters. One of these numbers is invalid because it is too big, in the wrong format, contains illegal characters, and so on. To correct this error, correct the number.

The following example generates CS1692.

// CS1692.cs

#pragma warning disable a  // CS1692
// Try this instad:
// #pragma warning disable 1691

class A
    static void Main()