[Mono-bugs] [Bug 574991] New: Respect pragma warning disable on partial definitions

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 28 19:55:46 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=574991

http://bugzilla.novell.com/show_bug.cgi?id=574991#c0


           Summary: Respect pragma warning disable on partial definitions
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mhutchinson at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


It would be very useful if "#pragma warning disable xxxxx" on a partial method
definition would also apply to the implementation.

In MonoTouch we use partial methods in the designer partial classes to indicate
methods that are expected to be implemented for runtime binding (and stubbing
the implementation is assisted by MD code completion), and the
partial designer class has "#pragma warning disable 0169" applied.

Users are getting confused about all the warnings, and it's not reasonable to
ask them to apply pragmas to all their partial method implementations. If we
could backport the fix to 2.6 branch and get it into MT ASAP that would be
great.

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


More information about the mono-bugs mailing list