[Mono-bugs] [Bug 657601] New: gmcs refuses #pragma restore for CS1591 warning

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Dec 4 12:55:51 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=657601

https://bugzilla.novell.com/show_bug.cgi?id=657601#c0


           Summary: gmcs refuses #pragma restore for CS1591 warning
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.8.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: C#
        AssignedTo: msafar at novell.com
        ReportedBy: djechelon at fastwebnet.it
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64;
Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC2;
NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC
6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; InfoPath.3; .NET4.0C; .NET
CLR 1.1.4322; .NET4.0E)

Visual Studio 2008 compiles WSDL into C# using a special Reference.cs file that
contains all classes definition. This file is surrounded by "#pragma warning
disable restore 1591" and "#pragma warning restore 1591" directives.

When compiling in Mono, I get the following gmcs warning on pragma warning
restore:

warning CS1692: Invalid number

I don't get any warning on the first pragma disable directive

Reproducible: Always




Microsoft.VSDesigner version: 2.0.50727.4927
Visual Studio 2008 with SP1

Didn't test in VS2010.

No consequences on final compilation

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list