[Mono-bugs] [Bug 651916] New: RemoveDependenceOnObsoleteCodeRule does not recognize obsolete classes

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Nov 7 01:45:15 EDT 2010


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

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


           Summary: RemoveDependenceOnObsoleteCodeRule does not recognize
                    obsolete classes
    Classification: Mono
           Product: Mono: Tools
           Version: 2.8.x
          Platform: 32bit
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: lextudio at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US)
AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.574.0 Safari/534.12

If class A and B are obsolete, and A.SomeFunc uses class B,
RemoveDependenceOnObsoleteCodeRule should automatically assume that A.SomeFunc
is obsolete and should not report this method.

However, currently Gendarme 2.8 reports this method, and of course it is false
alarm.

Reproducible: Always

Steps to Reproduce:
If class A and B are obsolete, and A.SomeFunc uses class B
Actual Results:  
A.SomeFunc is reported as an issue.

Expected Results:  
A.SomeFunc should not be reported.

-- 
Configure bugmail: https://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