[Mono-bugs] [Bug 574156] New: mcs emits CS0169 for unused methods, csc does not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 26 20:12:17 EST 2010


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

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


           Summary: mcs emits CS0169 for unused methods, csc does not
    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: ---


The Mono C# compiler emits CS0169 for unused methods, which causes
incompatibility with csc, especially with "warnings as errors" mode.

csc emits CS0169 *only* for fields. Unused methods and properties are *not*
reported.

This warning is also causing a lot of confusion for MonoTouch users, because of
the methods and properties that are dynamically connected at runtime. 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