[Mono-bugs] [Bug 414541] New: AvoidUnusedParametersRule - Issue when multiple delegates present in the method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Aug 5 00:21:56 EDT 2008


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


           Summary: AvoidUnusedParametersRule - Issue when multiple
                    delegates present in the method
           Product: Mono: Tools
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Gendarme
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: peter at peterjohanson.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Right now, if you have two different delegates created that should satisfy the
"used by a delegate as a callback" criteria for the rule not applying, equality
is simply checked against the *first* delegate created. We need to check
*every* delegate created, to see if any is the one.

Patch will be attached that tests the problem, and includes a candidate fix.


-- 
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