Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Compiler Warning (level 1) CS1692 

Error Message

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.

Example

The following example generates CS1692.

// CS1692.cs

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

class A
{
    static void Main()
    {
    }
}

Community Additions

ADD
Show:
© 2015 Microsoft