[Mono-dev] CS1692: Invalid number warning for #pragma restore?

Tom Philpot tom.philpot at logos.com
Thu Dec 16 13:17:21 EST 2010


Attached the previous code sample to https://bugzilla.novell.com/show_bug.cgi?id=657601 which reproduces the bug described in that case.

From: Tom Philpot <tom.philpot at logos.com<mailto:tom.philpot at logos.com>>
Date: Wed, 15 Dec 2010 10:54:47 -0800
To: "mono-devel-list at ximian.com<mailto:mono-devel-list at ximian.com>" <mono-devel-list at ximian.com<mailto:mono-devel-list at ximian.com>>
Subject: [Mono-dev] CS1692: Invalid number warning for #pragma restore?

One more thing I'm seeing today. The following gives a CS1692 for line 3 below. Is this expected behavior or a bug?

#pragma warning disable 1591
public class C {}
#pragma warning restore 1591
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20101216/4a90d4cd/attachment.html 


More information about the Mono-devel-list mailing list